all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sean McAfee <eefacm@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Asynchronous shell command that leaves a background process running
Date: Fri, 22 Oct 2010 11:34:11 -0700	[thread overview]
Message-ID: <bp8vd4u5b6k.fsf@usca1uw-JZWWPM1.sanmateo.corp.akamai.com> (raw)
In-Reply-To: 87bp6nz9qp.fsf@fh-trier.de

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.


  reply	other threads:[~2010-10-22 18:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-20 20:51 Asynchronous shell command that leaves a background process running Sean McAfee
2010-10-20 22:43 ` Andreas Politz
2010-10-21 17:48   ` Sean McAfee
2010-10-21 18:22     ` Andreas Politz
2010-10-22 18:34       ` Sean McAfee [this message]
2010-10-21  3:41 ` Pascal J. Bourguignon
2010-10-21 19:24   ` Sean McAfee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bp8vd4u5b6k.fsf@usca1uw-JZWWPM1.sanmateo.corp.akamai.com \
    --to=eefacm@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.