Sign in
go
/
go.git
/
1941f298def2b02fa60dfe666f0b32ca3d38eb39
/
.
/
src
/
cmd
/
go
/
testdata
/
script
/
run_issue11709.txt
blob: c8ba9982b20039a2000305687c1e8a0ea071829e [
file
] [
log
] [
blame
]
# 'go run' should not pass extraneous environment variables to the subprocess.
go run run.go
! stdout .
! stderr .
-- run.go --
package main
import "os"
func main() {
if os.Getenv("TERM") != "" {
os.Exit(1)
}
}