Commit 7c275c43 by Ian Lance Taylor

os/exec: Make sure file descriptor is not closed early.

From-SVN: r183815
parent fa9fe7a5
......@@ -292,6 +292,7 @@ func TestHelperProcess(*testing.T) {
f.Close()
}
}
fd3.Close()
os.Stderr.Write(bs)
case "exit":
n, _ := strconv.Atoi(args[0])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment