Message322413
Below snipped goes to infinite loop when running through windows command prompt but works in python IDLE
import subprocess
subprocess.check_output('cmd.exe dir', stderr=subprocess.STDOUT)
save as:test.py
in windows cmd use command: python test.py
then it goes to infine loop but the same program works in Python IDLE. |
|
Date |
User |
Action |
Args |
2018-07-26 10:44:12 | sanjay patel | set | recipients:
+ sanjay patel |
2018-07-26 10:44:12 | sanjay patel | set | messageid: <1532601852.46.0.56676864532.issue34233@psf.upfronthosting.co.za> |
2018-07-26 10:44:12 | sanjay patel | link | issue34233 messages |
2018-07-26 10:44:12 | sanjay patel | create | |
|