On Jun 10, 4:48 pm, John Gordon <gor...@panix.com> wrote: > In <6e035898-8938-4a61-91de-7a0ea7ead...@y30g2000yqb.googlegroups.com> virdo > <vir...@gmail.com> writes: > > > My python file is simple print "test". I run it, it works no problem. > > I pipe the output to a file "run > logfile" and that's the error I > > get. This is with Windows Server 2008 (64 bit) using ActivePython > > 2.7.1.4 (64 bit). > > Are you using an actual pipe symbol in your command? Your post title > suggests you are, but your sample command uses the greater-than symbol.
My apologies, I miswrote. It is the greater than symbol rather than a pipe. Example: c:\PRG>test.py > test.log close failed in file object destructor: sys.excepthook is missing lost sys.stderr -- http://mail.python.org/mailman/listinfo/python-list