http://d.puremagic.com/issues/show_bug.cgi?id=10580


Lars T. Kyllingstad <bugzi...@kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzi...@kyllingen.net


--- Comment #3 from Lars T. Kyllingstad <bugzi...@kyllingen.net> 2013-07-28 
07:54:24 PDT ---
I cannot reproduce this on Linux, so it's hard to say what the issue is.  It
would be great if someone else could try this on OSX.

spawnShell() does not touch the environment unless explicitly requested, so I
think the answer lies somewhere else.

It looks almost like spawnShell() starts the shell as a login shell.  In that
case it would read various startup scripts, and re-set PATH along with some
other environment variables.  Could you please run the following commands in a
terminal?

  export PATH=/usr/bin
  $SHELL -c 'echo $PATH'
  $SHELL -l -c 'echo $PATH'

(Note the single quotes, which delay expansion of the PATH variable.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to