[issue1124861] subprocess fails on GetStdHandle in interactive GUI

2013-03-04 Thread Tomgu
Tomgu added the comment: Here I get one problem need help. In python 2.7.5 version I write a script test.py as below ### import subprocess fileID=file('test1.log','w') process_response = subprocess.call('netsh wlan show\ interface',stdout=fileID,shell=True) fileID.flush() fileID.close

[issue1124861] subprocess fails on GetStdHandle in interactive GUI

2013-03-04 Thread Tomgu
Tomgu added the comment: Update, the python version is '2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1124861

[issue17350] Use STAF call python script will case 1124861 issue in 2.7.2 version

2013-03-04 Thread Tomgu
New submission from Tomgu: Here I get one problem use STAF call python and need help. In python 2.7.2 version I write a script test.py as below ### import subprocess fileID=file('test1.log','w') process_response = subprocess.call('netsh wlan show\ interface',stdout=fileID,shell=True