[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Asynchronous shell command that leaves a background process running
From: |
Sean McAfee |
Subject: |
Re: Asynchronous shell command that leaves a background process running |
Date: |
Wed, 08 Dec 2010 15:32:58 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Andreas Politz <politza@fh-trier.de> writes:
> Sean McAfee <eefacm@gmail.com> writes:
>> Andreas Politz <politza@fh-trier.de> writes:
>>> Try this.
>>>
>>> (let ((process-connection-type nil)) ; Use a pipe instead of pty
>>> (shell-command "foo bar blub &"))
>> Nice! Thanks.
> I think Pascals point is still valid: Why can't your script wait for
> it's children to die ?
Well, because one of the children is a window-manifesting program that
might persist for many hours.
More specifically, what I've been calling "real-program" is a Java
program that interacts with an intranet web server, downloads a JNLP
file, and invokes Java Web Start on that file.