help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: apply start-process fails because of invalid current directory


From: Pascal Quesseveur
Subject: Re: apply start-process fails because of invalid current directory
Date: Wed, 31 Jul 2013 17:25:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt)

>"SM" == Stefan Monnier <monnier@iro.umontreal.ca> 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


reply via email to

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