mirror of
https://github.com/golang/go
synced 2024-11-22 04:34:39 -07:00
os/exec: Fix documentation references to os.DevNull
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5372049
This commit is contained in:
parent
f6615f1b5d
commit
6c10aa19b8
@ -50,14 +50,14 @@ type Cmd struct {
|
||||
// calling process's current directory.
|
||||
Dir string
|
||||
|
||||
// Stdin specifies the process's standard input.
|
||||
// If Stdin is nil, the process reads from DevNull.
|
||||
// Stdin specifies the process's standard input. If Stdin is
|
||||
// nil, the process reads from the null device (os.DevNull).
|
||||
Stdin io.Reader
|
||||
|
||||
// Stdout and Stderr specify the process's standard output and error.
|
||||
//
|
||||
// If either is nil, Run connects the
|
||||
// corresponding file descriptor to /dev/null.
|
||||
// If either is nil, Run connects the corresponding file descriptor
|
||||
// to the null device (os.DevNull).
|
||||
//
|
||||
// If Stdout and Stderr are are the same writer, at most one
|
||||
// goroutine at a time will call Write.
|
||||
|
Loading…
Reference in New Issue
Block a user