Passing File Objects into Subprocess.Popen
brandon.harris at reelfx.com
Thu Nov 4 23:57:28 CET 2010
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 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 try running communicate before and after the wait() but to no
> Brandon L. Harris
> On 11/04/2010 05:39 PM, Antoine Pitrou wrote:
>> Try to rewind the file pointer before reading from it.
More information about the Python-list