]> Cypherpunks repositories - gostls13.git/commit
os: separate Process.handle into a separate memory allocation
authorIan Lance Taylor <iant@golang.org>
Mon, 23 Dec 2024 04:20:17 +0000 (20:20 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 4 Feb 2025 21:10:59 +0000 (13:10 -0800)
commit5c2b5e02c422ab3936645e2faa4489bf32fa8a57
tree59df2f0abcb9989607717feb7358547f0c723d75
parent0825475599d40c786c19c3449e22d2db66754456
os: separate Process.handle into a separate memory allocation

This is a step toward using AddCleanup rather than SetFinalizer
to close process handles.

For #70907

Change-Id: I7fb37461dd67b27135eab46fbdae94f0058ace85
Reviewed-on: https://go-review.googlesource.com/c/go/+/638575
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
src/os/exec.go
src/os/exec_linux.go
src/os/exec_nohandle.go
src/os/exec_windows.go