[issue1124861] subprocess fails on GetStdHandle in interactive GUI

bairam report at bugs.python.org
Sun Mar 21 11:29:14 CET 2010


bairam <bkomaki at yahoo.com> added the comment:

I have tested this form in Python26 ,It works
>>> import subprocess
>>> p = subprocess.Popen("cmd.exe dir", stdout=subprocess.PIPE)
>>> p.communicate()
('Microsoft Windows XP [Version 5.1.2600]\r\n(C) Copyright 1985-2001 Microsoft Corp.\r\n\r\nC:\\Python26>', None)

----------
nosy: +bairam

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


More information about the Python-bugs-list mailing list