diff options
Diffstat (limited to 'src/os/exec/exec.go')
| -rw-r--r-- | src/os/exec/exec.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/exec/exec.go b/src/os/exec/exec.go index 6b5d70990a..0b16f22a99 100644 --- a/src/os/exec/exec.go +++ b/src/os/exec/exec.go @@ -83,8 +83,8 @@ type Cmd struct { // If either is nil, Run connects the corresponding file descriptor // to the null device (os.DevNull). // - // If Stdout and Stderr are the same writer, at most one - // goroutine at a time will call Write. + // If Stdout and Stderr are the same writer, and have a type that can be compared with ==, + // at most one goroutine at a time will call Write. Stdout io.Writer Stderr io.Writer |
