RE: Readline()

2007-03-16 Thread Taylor, Stuart
ime < currentTime: print "timed out" sys.stdout.flush() break time.sleep(1) From: Taylor, Stuart [mailto:[EMAIL PROTECTED] Sent: 13 March 2007 09:50 To: Sick Monkey; Taylor, Stuart Cc:

RE: Readline()

2007-03-13 Thread Taylor, Stuart
_ From: Sick Monkey [mailto:[EMAIL PROTECTED] Sent: 13 March 2007 01:51 To: Taylor, Stuart Cc: python-list@python.org Subject: Re: Readline() Maybe if you show us your code we can better assist you. But maybe you can use a global variable or a try-catch method to keep threads fr

Readline()

2007-03-12 Thread Taylor, Stuart
I have been working on running an external process using subprocess.popen for a few days. The process is ran over the network to another machine. One thing I have found is that if I perform readline() on the stdout it will hang if the process loses connection. I have tried a few things in a test e