[issue8632] subprocess doesn't handle Windows built-in commands as os.system() does

2010-05-05 Thread Alex Quinn
New submission from Alex Quinn aq2...@alexquinn.org: The documentation says subprocess replaces os.system(). However, subprocess does not handle built-in Windows shell commands as os.system() does. Works: - os.system(dir /w) - subprocess.Popen(cmd /c dir /w,

[issue8632] subprocess doesn't handle Windows built-in commands as os.system() does

2010-05-05 Thread Philip Jenvey
Philip Jenvey pjen...@underboss.org added the comment: shell commands don't work because you're not specifying the shell=True argument to Popen. This is covered in the subprocess Replacing os.system documentation -- nosy: +pjenvey resolution: - invalid status: open - closed

[issue8632] subprocess doesn't handle Windows built-in commands as os.system() does

2010-05-05 Thread Alex Quinn
Alex Quinn aq2...@alexquinn.org added the comment: Sorry. My mistake. Thanks for clarifying. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8632 ___