[issue6141] missing first argument on subprocess.Popen w/ executable

R. David Murray report at bugs.python.org
Fri May 29 17:17:40 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

The way it works is the way most programmers expect it to work, even
though most get bitten by it more than once.  So the behavior isn't
going to change.  I've attached a doc fix, but I'm not sure whether or
not the 'diplay name' piece applies only to unix, although I've
documented it that way.  The windows documentation I found for
CreateProcess does not mention it, though it does note that "most C
programmers" treat argv[0] as the process name, consistent with the way
subprocess handles the argument string.

The Windows documentation I consulted is here:

http://msdn.microsoft.com/en-us/library/ms682425.aspx

----------
keywords: +patch
nosy: +r.david.murray
priority:  -> normal
versions:  -Python 2.5
Added file: http://bugs.python.org/file14111/issue6141-doc.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6141>
_______________________________________


More information about the Python-bugs-list mailing list