Revert "[lit] Speculatively fix PR24554 by manually closing the process handle"

This reverts commit r245946. It didn't help the problem:
http://lab.llvm.org:8011/builders/sanitizer-windows/builds/9179/steps/run%20tests/logs/stdio
LINK : fatal error LNK1104: cannot open file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246491 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner 2015-08-31 21:42:02 +00:00
parent 460da417e8
commit 8af580ed7d

View File

@ -257,9 +257,6 @@ def executeShCmd(cmd, shenv, results):
exitCode = None
for i,(out,err) in enumerate(procData):
res = procs[i].wait()
# On Windows, manually close the process handles.
if kIsWindows:
procs[i]._handle.Close()
# Detect Ctrl-C in subprocess.
if res == -signal.SIGINT:
raise KeyboardInterrupt