From: Russ Cox Date: Wed, 8 Feb 2012 21:14:24 +0000 (-0500) Subject: cmd/go: let go tool invocation use stdin X-Git-Tag: weekly.2012-02-14~205 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=56ade2d8d5ca27a91ab829499cc0b0576f3297aa;p=gostls13.git cmd/go: let go tool invocation use stdin Fixes #2921. R=golang-dev, n13m3y3r CC=golang-dev https://golang.org/cl/5647057 --- diff --git a/src/cmd/go/tool.go b/src/cmd/go/tool.go index af8a0d2877..0ec5cf6a74 100644 --- a/src/cmd/go/tool.go +++ b/src/cmd/go/tool.go @@ -70,6 +70,7 @@ func runTool(cmd *Command, args []string) { toolCmd := &exec.Cmd{ Path: toolPath, Args: args, + Stdin: os.Stdin, Stdout: os.Stdout, Stderr: os.Stderr, }