* callbacks f
@ 2011-06-18 16:42 Eric Abrahamsen
2011-06-18 16:42 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Eric Abrahamsen @ 2011-06-18 16:42 UTC (permalink / raw)
To: help-gnu-emacs
Is there anyway to attach a callback to start-process or other external
process functions? I'd like to have a function that is called with the
output buffer as an argument once the external process returns…
Thanks!
Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: callbacks f
2011-06-18 16:42 callbacks f Eric Abrahamsen
@ 2011-06-18 16:42 ` Eli Zaretskii
2011-06-18 17:38 ` Eric Abrahamsen
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2011-06-18 16:42 UTC (permalink / raw)
To: help-gnu-emacs
> From: Eric Abrahamsen <eric@ericabrahamsen.net>
> Date: Sat, 18 Jun 2011 09:42:11 -0700
>
> Is there anyway to attach a callback to start-process or other external
> process functions? I'd like to have a function that is called with the
> output buffer as an argument once the external process returns…
The process sentinel function is already called when the process
changes its status, including when it exits.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: callbacks f
2011-06-18 16:42 ` Eli Zaretskii
@ 2011-06-18 17:38 ` Eric Abrahamsen
0 siblings, 0 replies; 3+ messages in thread
From: Eric Abrahamsen @ 2011-06-18 17:38 UTC (permalink / raw)
To: help-gnu-emacs
On Sat, Jun 18 2011, Eli Zaretskii wrote:
>> From: Eric Abrahamsen <eric@ericabrahamsen.net>
>> Date: Sat, 18 Jun 2011 09:42:11 -0700
>>
>> Is there anyway to attach a callback to start-process or other external
>> process functions? I'd like to have a function that is called with the
>> output buffer as an argument once the external process returns…
>
> The process sentinel function is already called when the process
> changes its status, including when it exits.
That's perfect! Thanks very much.
Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-18 17:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-18 16:42 callbacks f Eric Abrahamsen
2011-06-18 16:42 ` Eli Zaretskii
2011-06-18 17:38 ` Eric Abrahamsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).