From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: BG process Date: Thu, 12 Mar 2009 17:58:00 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236895098 6240 80.91.229.12 (12 Mar 2009 21:58:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 21:58:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 12 22:59:34 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LhswA-0000Ox-DF for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2009 22:59:34 +0100 Original-Received: from localhost ([127.0.0.1]:49819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhsuo-00026q-LA for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2009 17:58:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lhsuj-00024X-OF for emacs-devel@gnu.org; Thu, 12 Mar 2009 17:58:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhsuh-00021j-Q0 for emacs-devel@gnu.org; Thu, 12 Mar 2009 17:58:04 -0400 Original-Received: from [199.232.76.173] (port=33236 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhsuh-00021g-KE for emacs-devel@gnu.org; Thu, 12 Mar 2009 17:58:03 -0400 Original-Received: from yx-out-1718.google.com ([74.125.44.155]:56502) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lhsuh-00028s-6r for emacs-devel@gnu.org; Thu, 12 Mar 2009 17:58:03 -0400 Original-Received: by yx-out-1718.google.com with SMTP id 34so11436yxf.66 for ; Thu, 12 Mar 2009 14:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=RnlJlVWNw/1WfOhK1uISI6KQNaFfh+0DFOe1nn/aKVA=; b=jUc+4UcSyk7+TltG+GnGWCVSUIf3Zzc+0LC8WFK/QzcC36tjsb1ZC553hQVvOxCz4K T/hzd4YaH1CogNqmmen+xkxjSS0Vg/nvFDoyvnStFcwUpyMoXAU57SrLWSjVHe4RUdbF mlKKrYV3k5yXdS9JLpzrh5tNPVrAlZIAURwgQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=G2xyGF8AwBnJWh1S4qX+gSUpiLrJPm0xw43DCMAFLpstXSRuFEt3nTrFc2F5zW3Hi5 H3QY4kC7gZU5BqG3kfBR4waM0Oss+ZV2G6CHaho9LzNMLY2fOsRfFLVGtAcPbtXxvjqr yiQ4ngKj0zL5UNy2DcM1H4KjTrSMfyVimk5MM= Original-Received: by 10.100.166.10 with SMTP id o10mr442459ane.96.1236895082090; Thu, 12 Mar 2009 14:58:02 -0700 (PDT) Original-Received: from terrapin.mhr.utoledo.edu (terrapin.mhr.utoledo.edu [131.183.160.53]) by mx.google.com with ESMTPS id c9sm2163259ana.13.2009.03.12.14.58.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Mar 2009 14:58:01 -0700 (PDT) X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109594 Archived-At: 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? Thanks, JD