Closed cjohansson closed 8 years ago
(async-start ;; What to do in the child process (lambda () (message "This is a test") (sleep-for 3) 222)
;; What to do when it finishes (lambda (result) (message "Async process done, result should be 222: %s" result)))
https://github.com/jwiegley/emacs-async
Using start-process-shell-command and set-process-sentinel instead.
start-process-shell-command
set-process-sentinel
http://www.slac.stanford.edu/comp/unix/gnu-info/elisp_34.html
(async-start ;; What to do in the child process (lambda () (message "This is a test") (sleep-for 3) 222)
;; What to do when it finishes (lambda (result) (message "Async process done, result should be 222: %s" result)))
https://github.com/jwiegley/emacs-async