|
From: | John Wiegley |
Subject: | Re: async.el: A simple asynchronous framework for Emacs |
Date: | Wed, 20 Jun 2012 03:24:35 -0500 |
User-agent: | Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (darwin) |
>>>>> John Wiegley <address@hidden> writes: > (async-start-process "ls" "ls" > (lambda (proc) > (message (with-current-buffer (process-buffer proc) > (buffer-string)))) > "-la") Perhaps a better syntax would be: (async-start-process '("ls" "-la") (lambda (proc) (message (with-current-buffer (process-buffer proc) (buffer-string))))) It doesn't follow `start-process', the way that I was doing, but it mirrors `async-start' much better. John
[Prev in Thread] | Current Thread | [Next in Thread] |