On Tue, 1 Feb 2011, John O'Hagan wrote: > > So far my best bet seems to be closing stdin, which doesn't seem very > clean, but it does what I want and seems to be just as fast as using > stdin=open(os.devnull) in the Popen call in the first place.
...and both references to stdin above should have been to stdout (I really shouldn't post last thing at night). > Thanks, > > John -- http://mail.python.org/mailman/listinfo/python-list