]> Cypherpunks repositories - gostls13.git/commit
os/exec: in Command, update cmd.Path even if LookPath returns an error
authorBryan C. Mills <bcmills@google.com>
Tue, 3 May 2022 14:01:35 +0000 (10:01 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 3 May 2022 16:29:56 +0000 (16:29 +0000)
commit61a585a32cc44cb1d8d00d12dcf101a61f145d69
tree51ad5ccc50db805c3631d6e699644113bee73691
parente7508598bb8007ec2a04cb25a6076643af05c033
os/exec: in Command, update cmd.Path even if LookPath returns an error

Fixes #52666.
Updates #43724.
Updates #43947.

Change-Id: I72cb585036b7e93cd7adbff318b400586ea97bd5
Reviewed-on: https://go-review.googlesource.com/c/go/+/403694
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/os/exec/exec.go