Re: Passing File Objects into Subprocess.Popen

2010-11-04 Thread Christian Heimes
Am 04.11.2010 23:49, schrieb Brandon Harris: > What do you mean by rewind the file pointer before reading from it? > Seek back to the beginning? And It sounded very unlikely to me too, but > it's the only thing I have found that explains why a very verbose job > with tons of feedback locks up

Re: Passing File Objects into Subprocess.Popen

2010-11-04 Thread Brandon Harris
ok. Jumping back to the start of the file solved the problem. (file.seek(0)) Big thanks for that insight! Brandon L. Harris On 11/04/2010 05:49 PM, Brandon Harris wrote: What do you mean by rewind the file pointer before reading from it? Seek back to the beginning? And It sounded very unlik

Re: Passing File Objects into Subprocess.Popen

2010-11-04 Thread Brandon Harris
What do you mean by rewind the file pointer before reading from it? Seek back to the beginning? And It sounded very unlikely to me too, but it's the only thing I have found that explains why a very verbose job with tons of feedback locks up at the same point and won't process at all. I did tr

Re: Passing File Objects into Subprocess.Popen

2010-11-04 Thread Antoine Pitrou
On Thu, 04 Nov 2010 17:13:09 -0500 Brandon Harris wrote: > I'm running python 2.5 and have bumped into an issue whereby the PIPE > in subprocess.Popen locks up after taking too many characters. I found > some documentation that discuss this problem and offers some ideas for > solutions, the b

Passing File Objects into Subprocess.Popen

2010-11-04 Thread Brandon Harris
I'm running python 2.5 and have bumped into an issue whereby the PIPE in subprocess.Popen locks up after taking too many characters. I found some documentation that discuss this problem and offers some ideas for solutions, the best one being to pass a file object into subprocess instead of PIP