]> Cypherpunks repositories - gostls13.git/commit
os/exec: recombine goroutinePipes and userPipes
authorBryan C. Mills <bcmills@google.com>
Fri, 30 Sep 2022 16:46:40 +0000 (12:46 -0400)
committerGopher Robot <gobot@golang.org>
Sat, 1 Oct 2022 00:12:32 +0000 (00:12 +0000)
commitc9a62b7e711f5c1f1a73e0c3a5b6a2e5b67033e2
tree868a7b3ef657e8662dd2ba112a434d76f73e828a
parent20da893e8392c5008f7583400accf2a2b9a2f8ff
os/exec: recombine goroutinePipes and userPipes

This change undoes CL 401894, because on further consideration
it turns out not to be needed.

This also makes (*Cmd).closeDescriptors a free function, since it does
not actually use the receiver in any way and is not needed to satisfy
any interfaces.

For #50436.

Change-Id: I7915265b0e6398ed5a34fae0c12873ab08a14194
Reviewed-on: https://go-review.googlesource.com/c/go/+/437175
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/os/exec/exec.go