Author sanjay patel
Recipients sanjay patel
Date 2018-07-26.10:44:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532601852.46.0.56676864532.issue34233@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-07-26 10:44:12sanjay patelsetrecipients: + sanjay patel
2018-07-26 10:44:12sanjay patelsetmessageid: <1532601852.46.0.56676864532.issue34233@psf.upfronthosting.co.za>
2018-07-26 10:44:12sanjay patellinkissue34233 messages
2018-07-26 10:44:12sanjay patelcreate