[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Env["PWD"], why not?
[Thread Prev] | [Thread Next]
- Subject: Re: Env["PWD"], why not?
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Sat, 19 Apr 2025 00:30:26 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 19/04/2025 à 00:22, Bruce Steers a écrit :
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
It's an hack that actually should have nothing to do with environment variables. So there is no good reason to extend the logic of that hack.
Regards, -- Benoît Minisini.
Re: Env["PWD"], why not? | Bruce Steers <bsteers4@xxxxxxxxx> |
Env["PWD"], why not? | Bruce Steers <bsteers4@xxxxxxxxx> |