1
0
mirror of https://github.com/golang/go synced 2024-11-19 16:44:43 -07:00

windows: reset command var to sh for correct error output messages

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4492043
This commit is contained in:
Joe Poirier 2011-05-06 22:05:04 -07:00 committed by Rob Pike
parent 1dc914bc0d
commit 733fde588b

View File

@ -285,6 +285,7 @@ func doRun(argv []string, returnStdout bool) string {
}
cmd += `"` + v + `"`
}
command = "sh"
argv = []string{"sh", "-c", cmd}
}
var err os.Error