Don't set stdin to devnull for forked processes

llvm-svn: 183578
This commit is contained in:
Andrew Kaylor 2013-06-07 22:12:54 +00:00
parent 4e5c821087
commit 5c282cc886
1 changed files with 0 additions and 1 deletions

View File

@ -924,7 +924,6 @@ class Base(unittest2.TestCase):
if child_pid == 0:
# If more I/O support is required, this can be beefed up.
fd = os.open(os.devnull, os.O_RDWR)
os.dup2(fd, 0)
os.dup2(fd, 1)
os.dup2(fd, 2)
# This call causes the child to have its of group ID