mirror of
https://github.com/golang/go
synced 2024-11-25 20:57:57 -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.
|
// calling process's current directory.
|
||||||
Dir string
|
Dir string
|
||||||
|
|
||||||
// Stdin specifies the process's standard input.
|
// Stdin specifies the process's standard input. If Stdin is
|
||||||
// If Stdin is nil, the process reads from DevNull.
|
// nil, the process reads from the null device (os.DevNull).
|
||||||
Stdin io.Reader
|
Stdin io.Reader
|
||||||
|
|
||||||
// Stdout and Stderr specify the process's standard output and error.
|
// Stdout and Stderr specify the process's standard output and error.
|
||||||
//
|
//
|
||||||
// If either is nil, Run connects the
|
// If either is nil, Run connects the corresponding file descriptor
|
||||||
// corresponding file descriptor to /dev/null.
|
// to the null device (os.DevNull).
|
||||||
//
|
//
|
||||||
// If Stdout and Stderr are are the same writer, at most one
|
// If Stdout and Stderr are are the same writer, at most one
|
||||||
// goroutine at a time will call Write.
|
// goroutine at a time will call Write.
|
||||||
|
Loading…
Reference in New Issue
Block a user