-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.help wanted
Milestone
Description
Most subprocess invocations in the go
command use base.AppendPWD
to append an accurate value of PWD
to the command's environment, which can speed up calls like os.Getwd
and also help to provide less-confusing output from scripts.
As noted in #43724 (comment) (CC @dylan-bourque), go generate
currently fails to do so when invoking the generator command:
go/src/cmd/go/internal/generate/generate.go
Line 451 in 3a778ff
cmd.Env = str.StringList(cfg.OrigEnv, g.env) |
It should be updated to do so.
(CC @matloob @jayconrod)
dmitshur
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.help wanted