Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Setting env.path affects local() operation #659
I am on Windows so I am not sure if this affects other Platforms.
It turns out that when env.path is set, local() stops executing commands on Windows.
Note the missing output in the second case.
As far as I understood, env.path only affects run/sudo commands, or am I getting something wrong?
OS: Windows 7
Looks like the docs are inaccurate --
This is the first time I recall this coming up, though I think it may be Windows' "fault" in the sense that the shell env var stuff is a Unix/POSIX convention and is probably not valid for Windows shells. What your failing example is invoking locally, and you can verify this with
For now I'd prefer to update the docs to be accurate, instead of changing the behavior, as others may be relying on the behavior as implemented (despite the doc inaccuracy.)
In your case, hopefully there's a way you can limit the