[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BG process

From: JD Smith
Subject: BG process
Date: Thu, 12 Mar 2009 17:58:00 -0400

Why does this not work (Emacs 22.3.1):

(start-process-shell-command "TEST" nil "/bin/echo TEST > /tmp/test &")

(note the ampersand). It seems that since the process is backgrounded in the shell, Emacs sees the command return quickly, gives up on it and kills it off before it can complete its work. How does one arrange for a backgrounded process in a shell invoked by Emacs to run through unmolested?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]