mirror of
https://github.com/golang/go
synced 2024-09-29 22:24:33 -06:00
os/exec: don't convert byte slice to string when using verb %s
This commit is contained in:
parent
a9859a7df7
commit
a91d74ae55
@ -45,7 +45,7 @@ func cmdExec(args ...string) {
|
||||
fmt.Fprintf(os.Stderr, "Child: %s %s", err, string(output))
|
||||
os.Exit(1)
|
||||
}
|
||||
fmt.Printf("%s", string(output))
|
||||
fmt.Printf("%s", output)
|
||||
}
|
||||
|
||||
func installExe(t *testing.T, dest, src string) {
|
||||
|
Loading…
Reference in New Issue
Block a user