]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/envcmd: on unix pass script contents directly to sh -c
authorMichael Matloob <matloob@golang.org>
Mon, 8 May 2023 16:53:37 +0000 (12:53 -0400)
committerMichael Matloob <matloob@golang.org>
Mon, 8 May 2023 17:34:42 +0000 (17:34 +0000)
commit4576184b438125966dc761e2384a728f07fb8da8
treecf24cd1f5eb44a7864e73ed5d89fba2403d2aebd
parentdd78bc0564509f8c410d6467f6c4c74646bfb224
cmd/go/internal/envcmd: on unix pass script contents directly to sh -c

Instead of writing them to a file and executing that file.

For #59998

Change-Id: I341786926762359f67dccb475295afbbb8ed1054
Reviewed-on: https://go-review.googlesource.com/c/go/+/493555
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/envcmd/env_test.go