Commit 6c10aa19 authored by Scott Lawrence's avatar Scott Lawrence Committed by Rob Pike

os/exec: Fix documentation references to os.DevNull

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5372049
parent f6615f1b
......@@ -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.
......
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