aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/os/exec/exec.go
diff options
context:
space:
mode:
authorScott Lawrence <bytbox@gmail.com>2011-11-09 13:50:13 -0800
committerRob Pike <r@golang.org>2011-11-09 13:50:13 -0800
commit6c10aa19b88d3a3c602c725821f73b02d0cd2d58 (patch)
tree5c7b862b75ac8a736c8d58f001208928f1f1c1fc /src/pkg/os/exec/exec.go
parentf6615f1b5d7e2e3e621c32fa9f99521f1c3a5f2b (diff)
downloadgo-6c10aa19b88d3a3c602c725821f73b02d0cd2d58.tar.xz
os/exec: Fix documentation references to os.DevNull
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5372049
Diffstat (limited to 'src/pkg/os/exec/exec.go')
-rw-r--r--src/pkg/os/exec/exec.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/os/exec/exec.go b/src/pkg/os/exec/exec.go
index ebdfd54a73..4c95c1b0da 100644
--- a/src/pkg/os/exec/exec.go
+++ b/src/pkg/os/exec/exec.go
@@ -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.