[Issue 10580] spawnShell/pipeShell changes some environment variables (incl. PATH)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Sep 15 00:31:45 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=10580
Timothee Cour <timothee.cour2 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |timothee.cour2 at gmail.com
--- Comment #4 from Timothee Cour <timothee.cour2 at gmail.com> ---
export PATH=/usr/bin
$SHELL -c 'echo $PATH' =>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:... (+
other stuff)
$SHELL -l -c 'echo $PATH' => /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:...
(+ other stuff)
ie, spawnShell("echo $PATH").wait; returns same as $SHELL -c 'echo $PATH' and
$SHELL -l -c 'echo $PATH'
--
More information about the Digitalmars-d-bugs
mailing list