]> Cypherpunks repositories - gostls13.git/commit
os: add (*Process).WithHandle
authorKir Kolyshkin <kolyshkin@gmail.com>
Thu, 28 Aug 2025 05:39:25 +0000 (22:39 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 15 Sep 2025 19:17:42 +0000 (12:17 -0700)
commit8ace10dad2774a760b5028140a7d3f8140e6e1c0
treee4e3a547bd1db41e1149dae08c44530614cb8073
parent3573227fe3fe8d141dbf06e257609a59871d5248
os: add (*Process).WithHandle

Implement (*Process).WithHandle, add tests for all platforms.

Fixes #70352

Change-Id: I7a8012fb4e1e1b4ce1e75a59403ff6e77504fc56
Reviewed-on: https://go-review.googlesource.com/c/go/+/699615
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Auto-Submit: Kirill Kolyshkin <kolyshkin@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
api/next/70352.txt [new file with mode: 0644]
doc/next/6-stdlib/99-minor/os/70352.md [new file with mode: 0644]
src/os/exec.go
src/os/exec_nohandle_test.go [new file with mode: 0644]
src/os/exec_plan9.go
src/os/exec_posix.go
src/os/exec_windows_test.go
src/os/pidfd_linux_test.go