[Python-Dev] Issue 13524: subprocess on Windows

Tim Golden mail at timgolden.me.uk
Sun Dec 4 15:08:36 CET 2011

On 04/12/2011 12:41, Paul Moore wrote:
> I'm not 100% clear on the problem here. From how I'm reading things,
> the problem is that not supplying SystemRoot will cause (some or all)
> invocations of subprocess.Popen to fail - it's not specific to
> starting Python.

That's basically the situation.

> My feeling is that option 4 is best - set SystemRoot to its current
> value if it's not been set by the user. This leaves the user unable to
> set an environment with SystemRoot missing, but if the OS fails to
> handle that properly, then I'm OK with that limitation.

FWIW if we went this route we could set it if it's missing but
that still allows the user to set it to blank. I'm just a little
bit wary of altering the environment which the user believes has
been set.


More information about the Python-Dev mailing list