Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Re: Create a pipe to command prompt with timeout for stdin

Status
Not open for further replies.

VincentTSW

Programmer
Apr 29, 2007
3
0
0
SG
Hi All,
Can you please guide me through how to creape a pipe process with all the below criteria(using win32api modules):
>>stdin, stdout and stderr file object control
>>stdin/stderr.read() will not 'deadlock' if output buffer in another end of pipe is empty

I tried subprocess.Popen, os.popen*, os.spawn,..... but none of them meet all the specifications above.

Looking forward to your reply.....

Best regards,

Vincent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top