Message250829
I just ran into this again - when trying to run `git` via subprocess with "env" set, I got:
# Start the process
try:
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
# no special security
None, None,
int(not close_fds),
creationflags,
env,
cwd,
> startupinfo)
E FileNotFoundError: [WinError 2] The system cannot find the file specified
This only seems to happen when starting my Python process in cmd.exe, not when it's started via my buildbot (CI).
Again, when passing shell=True everything worked - except when passing `cwd` as well, then it's broken again. |
|
Date |
User |
Action |
Args |
2015-09-16 08:00:21 | The Compiler | set | recipients:
+ The Compiler, paul.moore, astrand, tim.golden, zach.ware, eryksun, steve.dower |
2015-09-16 08:00:21 | The Compiler | set | messageid: <1442390421.18.0.997680634958.issue24493@psf.upfronthosting.co.za> |
2015-09-16 08:00:21 | The Compiler | link | issue24493 messages |
2015-09-16 08:00:21 | The Compiler | create | |
|