This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mher
Recipients Trundle, asksol, ikanobori, jnoller, mher
Date 2011-01-07.22:02:52
SpamBayes Score 0.00010468425
Marked as misclassified No
Message-id <1294437775.85.0.986423850561.issue10174@psf.upfronthosting.co.za>
In-reply-to
Content
This bug was fixed in #5313

--- a/multiprocessing/process.py
+++ b/multiprocessing/process.py
@@ -225,7 +225,8 @@ class Process(object):
             self._children = set()
             self._counter = itertools.count(1)
             try:
-                os.close(sys.stdin.fileno())
+                sys.stdin.close()
+                sys.stdin = open(os.devnull)
             except (OSError, ValueError):
                 pass
             _current_process = self
History
Date User Action Args
2011-01-07 22:02:55mhersetrecipients: + mher, jnoller, Trundle, asksol, ikanobori
2011-01-07 22:02:55mhersetmessageid: <1294437775.85.0.986423850561.issue10174@psf.upfronthosting.co.za>
2011-01-07 22:02:52mherlinkissue10174 messages
2011-01-07 22:02:52mhercreate