]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.17] cmd/dist: consistently set PWD when executing a command in...
authorBryan C. Mills <bcmills@google.com>
Thu, 30 Sep 2021 19:15:45 +0000 (15:15 -0400)
committerHeschi Kreinick <heschi@google.com>
Mon, 23 May 2022 20:25:49 +0000 (20:25 +0000)
commita9003376d55bcbd5b2b24e199ca861058f84c94c
tree744a22292dce11750f0a87dabf8daacb81eafe91
parent0e7138a102803f04254ea56c0bc9ba89007ffbe5
[release-branch.go1.17] cmd/dist: consistently set PWD when executing a command in a different directory

Fixes #52995
Updates #33598

Change-Id: If0de906ffa2fcc83bb2a90f9e80a5b29d7667398
Reviewed-on: https://go-review.googlesource.com/c/go/+/353449
Trust: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
(cherry picked from commit c035d829e9fbd150148a1738020fe9c155cda61f)
Reviewed-on: https://go-review.googlesource.com/c/go/+/407881
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/dist/exec.go [new file with mode: 0644]
src/cmd/dist/test.go
src/cmd/dist/util.go