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 <>
I just ran into this again - when trying to run `git` via subprocess with "env" set, I got:

        # Start the process
            hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                                     # no special security
                                     None, None,
                                     int(not close_fds),
>                                    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:21The Compilersetrecipients: + The Compiler, paul.moore, astrand, tim.golden, zach.ware, eryksun, steve.dower
2015-09-16 08:00:21The Compilersetmessageid: <>
2015-09-16 08:00:21The Compilerlinkissue24493 messages
2015-09-16 08:00:21The Compilercreate