From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Quesseveur Newsgroups: gmane.emacs.help Subject: Re: apply start-process fails because of invalid current directory Date: Wed, 31 Jul 2013 17:25:18 +0200 Organization: Les Enchantements de Miraldra Message-ID: <86ehaepx9d.fsf@free.fr> References: <86zjt3p3x6.fsf@free.fr> Reply-To: pascal.quesseveur@free.fr NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375284616 28829 80.91.229.3 (31 Jul 2013 15:30:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Jul 2013 15:30:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 31 17:30:17 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4YLw-0003yY-Dz for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Jul 2013 17:30:16 +0200 Original-Received: from localhost ([::1]:35685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4YLv-0001SP-WD for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Jul 2013 11:30:16 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!proxad.net!feeder1-2.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp2-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-Attribution: PQsr Cancel-Lock: sha1:oWdI7Ipn8X/Hcc2L7HToX6pzdK8= Original-Lines: 21 Original-NNTP-Posting-Date: 31 Jul 2013 17:25:42 CEST Original-NNTP-Posting-Host: 78.241.156.15 Original-X-Trace: 1375284342 news-4.free.fr 14018 78.241.156.15:63422 Original-X-Complaints-To: abuse@proxad.net Original-Xref: usenet.stanford.edu gnu.emacs.help:200329 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92596 Archived-At: >"SM" == Stefan Monnier writes: SM> That's a common problem: start-process runs an external process SM> and for that it needs to decide what the "current working SM> directory" of that process should be. Elisp says that this SM> should be the directory specified by `default-directory'. When problem occured I looked at default-directory and if I'm not mistaken it was not set to y:/ SM> If your process doesn't use the current directory, then the SM> Elisp code that runs it should explicitly rebind SM> `default-directory' to some "safe" choice SM> (e.g. (expand-file-name "~/")) around the call to start-process. Is that not what is supposed to do start-process? -- Pascal Quesseveur pascal.quesseveur@free.fr