]> Cypherpunks repositories - gostls13.git/commitdiff
os/exec: document that examples assume Unix
authorRuss Cox <rsc@golang.org>
Wed, 6 Jan 2016 16:27:14 +0000 (11:27 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 6 Jan 2016 17:58:48 +0000 (17:58 +0000)
Fixes #13693.

Change-Id: Ieb89d8a8874ee8c6b304de99dceb07193c26b60e
Reviewed-on: https://go-review.googlesource.com/18315
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/exec/exec.go

index a3ca98ce861f99b9f020705f2b710765293e81e5..340ebd498b7e7ab11441762d69b93b0a86c82cc7 100644 (file)
@@ -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 (