Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp> added the comment: Sorry for posting to closed entry, but I think handle should be closed in Lib/subprocess.py not in PC/_subprocess.c. I noticed following code showed strange error.
import subprocess for _ in xrange(2): stdout = open("stdout.txt", "w") try: p = subprocess.Popen(["unknown"], stdout=stdout) except WindowsError: pass // error close failed in file object destructor: IOError: [Errno 9] Bad file descriptor ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com