elisp help

Bob Walters <[email protected]> Sun, 22 Jan 2006 00:04:41 -0800
Newsgroups gmane.emacs.xemacs.general
Message-ID <[email protected]>
------=_Part_25929_10935276.1137917081447
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I am having trouble with getting background processes to work properly in a
sequential order.  What I mean is, when I use background or comint-exec,
whatever elisp functions are executed after the background process is
invoked, but I want them to run when the background process terminates, not
when it starts.

The only way I can think of to get this behavior would be to get the proces=
s
id and poll it until it is done, but this won't work for me because I don't
want to make the emacs process wait until the entire process is done.
(otherwise I would have just used shell-command or something like that, but
then again shell-command exibits the same issue, which I don't think is
correct behavior)

Is it possible to have sequential control of forked/asynchronous processes
in emacs, and if so, how would I do this.

Sorry if I overlooked something obvious, which I probably did.

--Bob

------=_Part_25929_10935276.1137917081447
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I am having trouble with getting background processes to work properly
in a sequential order.&nbsp; What I mean is, when I use background or
comint-exec, whatever elisp functions are executed after the background
process is invoked, but I want them to run when the background process
terminates, not when it starts.<br>
<br>
The only way I can think of to get this behavior would be to get the
process id and poll it until it is done, but this won't work for me
because I don't want to make the emacs process wait until the entire
process is done.&nbsp; (otherwise I would have just used shell-command
or something like that, but then again shell-command exibits the same
issue, which I don't think is correct behavior)<br>
<br>
Is it possible to have sequential control of forked/asynchronous processes =
in emacs, and if so, how would I do this.<br>
<br>
Sorry if I overlooked something obvious, which I probably did.<br>
<br>
--Bob<br>

------=_Part_25929_10935276.1137917081447--