aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec_windows.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2024-12-22 20:26:23 -0800
committerGopher Robot <gobot@golang.org>2025-02-04 15:03:18 -0800
commitb485e5bceb8cf417c28debe82f9c42b91f66132e (patch)
treeb1bc491ea62137b60924d51720728becca18456c /src/os/exec_windows.go
parent5c2b5e02c422ab3936645e2faa4489bf32fa8a57 (diff)
downloadgo-b485e5bceb8cf417c28debe82f9c42b91f66132e.tar.xz
os: remove Process.mode field
It's now redundant with checking whether the handle field is nil. For #70907 Change-Id: I877f2a7c63d15ab5f8e3d2c9aa24776c2e3e2056 Reviewed-on: https://go-review.googlesource.com/c/go/+/638576 Reviewed-by: Robert Griesemer <gri@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/os/exec_windows.go')
-rw-r--r--src/os/exec_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/exec_windows.go b/src/os/exec_windows.go
index 43445d6804..969eeb7c21 100644
--- a/src/os/exec_windows.go
+++ b/src/os/exec_windows.go
@@ -12,7 +12,7 @@ import (
"time"
)
-// Note that Process.mode is always modeHandle because Windows always requires
+// Note that Process.handle is never nil because Windows always requires
// a handle. A manually-created Process literal is not valid.
func (p *Process) wait() (ps *ProcessState, err error) {