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

Env["PWD"], why not?


Using PWD env to set working dir is cool but why not obey the global Env[]?

Ie. this works..
Shell "ls" With ["PWD=/usr"] Wait

but this does not..
Env["PWD"] ="/usr"
Shell "ls" Wait

Could Shell and Exec not obey the global Env[] if it's been modified?
then the answer to "can you set the shell working dir?" could be
differently, "yes" :)

I cannot imagine it requires much code change. (i could be wrong)

Respects
BruceS

Follow-Ups:
Re: Env["PWD"], why not?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>