os/exec: Make sure file descriptor is not closed early.
From-SVN: r183815
This commit is contained in:
parent
fa9fe7a5a7
commit
7c275c4339
@ -292,6 +292,7 @@ func TestHelperProcess(*testing.T) {
|
|||||||
f.Close()
|
f.Close()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fd3.Close()
|
||||||
os.Stderr.Write(bs)
|
os.Stderr.Write(bs)
|
||||||
case "exit":
|
case "exit":
|
||||||
n, _ := strconv.Atoi(args[0])
|
n, _ := strconv.Atoi(args[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user