Commit 56ade2d8 authored by Russ Cox's avatar Russ Cox

cmd/go: let go tool invocation use stdin

Fixes #2921.

R=golang-dev, n13m3y3r
CC=golang-dev
https://golang.org/cl/5647057
parent 7c5d6409
...@@ -70,6 +70,7 @@ func runTool(cmd *Command, args []string) { ...@@ -70,6 +70,7 @@ func runTool(cmd *Command, args []string) {
toolCmd := &exec.Cmd{ toolCmd := &exec.Cmd{
Path: toolPath, Path: toolPath,
Args: args, Args: args,
Stdin: os.Stdin,
Stdout: os.Stdout, Stdout: os.Stdout,
Stderr: os.Stderr, Stderr: os.Stderr,
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment