diff options
author | Russ Cox <rsc@golang.org> | 2016-01-06 11:27:14 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2016-01-06 17:58:48 +0000 |
commit | 901810ae5532b669d6e59c3ee64fd390f520499c (patch) | |
tree | 1b27881e76d29e5c6823f024fbf0fd45ac95cb59 /src/os/exec/exec.go | |
parent | bb91a7e2fd11a071dc32a6a65c185fbe0151145a (diff) | |
download | go-901810ae5532b669d6e59c3ee64fd390f520499c.tar.gz go-901810ae5532b669d6e59c3ee64fd390f520499c.zip |
os/exec: document that examples assume Unix
Fixes #13693.
Change-Id: Ieb89d8a8874ee8c6b304de99dceb07193c26b60e
Reviewed-on: https://go-review.googlesource.com/18315
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
-rw-r--r-- | src/os/exec/exec.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/exec/exec.go b/src/os/exec/exec.go index a3ca98ce86..340ebd498b 100644 --- a/src/os/exec/exec.go +++ b/src/os/exec/exec.go @@ -5,6 +5,10 @@ // Package exec runs external commands. It wraps os.StartProcess to make it // easier to remap stdin and stdout, connect I/O with pipes, and do other // adjustments. +// +// Note that the examples in this package assume a Unix system. +// They may not run on Windows, and they do not run in the Go Playground +// used by golang.org and godoc.org. package exec import ( |