* 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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.