help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Async shell-command-to-string?


From: Lennart Borgman (gmail)
Subject: Re: Async shell-command-to-string?
Date: Mon, 02 Jun 2008 01:11:03 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Johan Lindström wrote:
Hi all!

I'd like to run something similar to shell-command-to-string, but that runs "asynchronously" in a "subprocess" in the "background". I've searched for all those things without finding anything suitable.

async-shell-command-to-string or whatever it would be called would take a callback for the string output when the subprocess is done.

Is there anything like that already?

If not, any hints on how to implement it? The async part of shell-command looks promising to nick.


Look in the Emacs manual:

  (info "(elisp) Processes")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]