]> arthur.barton.de Git - bup.git/commit
main: fix problem when redirecting to newliner on MacOS X.
authorAvery Pennarun <apenwarr@gmail.com>
Thu, 4 Mar 2010 03:34:40 +0000 (22:34 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Thu, 4 Mar 2010 03:34:40 +0000 (22:34 -0500)
commit119f9dd3b3421c31578105954a34fc5e32826ae5
tree31b7b258c180ec197cb97ecb0434203580d0d5e2
parentd4b86305b635e3dd9841c18007cdc3b1b3715516
main: fix problem when redirecting to newliner on MacOS X.

It's probably just a bug in python 2.4.2, which is the version on my old
MacOS machine.  But it seems that if you use subprocess.Popen with stdout=1
and/or stderr=2, it ends up closing the file descriptors instead of passing
them along.  Since those are the defaults anyway, just use None instead.
main.py