homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author The Compiler
Recipients The Compiler, astrand, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2015年09月16日.08:00:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442390421.18.0.997680634958.issue24493@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015年09月16日 08:00:21The Compilersetrecipients: + The Compiler, paul.moore, astrand, tim.golden, zach.ware, eryksun, steve.dower
2015年09月16日 08:00:21The Compilersetmessageid: <1442390421.18.0.997680634958.issue24493@psf.upfronthosting.co.za>
2015年09月16日 08:00:21The Compilerlinkissue24493 messages
2015年09月16日 08:00:21The Compilercreate

AltStyle によって変換されたページ (->オリジナル) /