在elisp中异步等待进程完成?

时间:2012-06-10 21:47:32

标签: emacs asynchronous elisp

我希望能够以异步方式等待进程,例如:

(start-file-process "my-process" "*my-process*" "do" "something")
(on-finish "my-process"
    (do-something-else))

1 个答案:

答案 0 :(得分:5)

您想阅读有关Process Sentinels的信息:

C-h i g (elisp) Sentinels RET