From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fernando Newsgroups: gmane.emacs.devel Subject: Re: & and M-& to run programs asynchronously Date: Sun, 5 Jul 2009 21:42:09 +0200 Message-ID: References: <87hcbkpo0e.fsf@gmail.com> <87zlmfpov5.fsf@jurta.org> <87tz20660j.fsf@yahoo.com> <873a9km3fh.fsf@mail.jurta.org> <87y6rbgez1.fsf@CPU107.opentrends.net> <87hbxy373a.fsf@mail.jurta.org> <87zlbps06o.fsf@mail.jurta.org> <87fxded5wg.fsf@mail.jurta.org> Reply-To: ferkiwi+a@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246822967 4278 80.91.229.12 (5 Jul 2009 19:42:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2009 19:42:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 05 21:42:41 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 1MNXbl-0005tv-4t for ged-emacs-devel@m.gmane.org; Sun, 05 Jul 2009 21:42:41 +0200 Original-Received: from localhost ([127.0.0.1]:37546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNXbk-0003nS-FA for ged-emacs-devel@m.gmane.org; Sun, 05 Jul 2009 15:42:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNXbf-0003nI-W6 for emacs-devel@gnu.org; Sun, 05 Jul 2009 15:42:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNXbb-0003mL-Ae for emacs-devel@gnu.org; Sun, 05 Jul 2009 15:42:35 -0400 Original-Received: from [199.232.76.173] (port=47149 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNXbb-0003mG-4B for emacs-devel@gnu.org; Sun, 05 Jul 2009 15:42:31 -0400 Original-Received: from mail-fx0-f217.google.com ([209.85.220.217]:64789) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNXba-0006W6-Nk for emacs-devel@gnu.org; Sun, 05 Jul 2009 15:42:30 -0400 Original-Received: by fxm17 with SMTP id 17so3218109fxm.42 for ; Sun, 05 Jul 2009 12:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=a/Ipr8dO7mEE3GbCe2EGYEfVwOfkRTFGy7qe1DCq04I=; b=ntBRPQNLhjO2JnqC6mPFGnlrvsMuf0E7xxYqlpjjV/rMtbSM+BrM35simTpSRpwnN7 q3Y5GiOSqsbvqqjLzT3rukGGZTqG6P8OJHMk7Yxd3s8hQZWkpD0zy/Q63BSMUTWO2GeB mQGveNLC606Yhu347k2ApmnZUa0zpDP0GZENo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; b=rwnW0+E1N/WMQg9Dc/0DCjffD8adV8rChTyBV7QKONW6e91xs+msdCUegEZdueBGTb wqLnfna/meW6trxHbcuuMM84U9LMMSf13FuqHPu6/lVovFG8tV+1ItaT0DnlJmfoHLD8 9ZRwv21byl9f4FmC7nYp3tRu9LeBuF6q+NMgU= Original-Received: by 10.223.113.3 with SMTP id y3mr1632062fap.71.1246822949102; Sun, 05 Jul 2009 12:42:29 -0700 (PDT) In-Reply-To: <87fxded5wg.fsf@mail.jurta.org> 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:112044 Archived-At: Hello. I don't know if it's worth to open a new thread, but as this one is related I'll like to report some problem I've had while testing the new "&" command (dired-do-async-shell-command). If you use it to execute a command that opens a child process then it will have no effect at all, the parent process will be finished and no program will be executed. You can reproduce this if you execute & xdg-open (freedesktop command for opening a file). dired-do-shell-command does work when you use it to execute xdg-open, but it will run the program synchronously. Would it be possible to fix this so that "&" waits for child processes running asynchronously to finish? -- Fernando