From 901810ae5532b669d6e59c3ee64fd390f520499c Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 6 Jan 2016 11:27:14 -0500 Subject: [PATCH] os/exec: document that examples assume Unix Fixes #13693. Change-Id: Ieb89d8a8874ee8c6b304de99dceb07193c26b60e Reviewed-on: https://go-review.googlesource.com/18315 Reviewed-by: Brad Fitzpatrick --- src/os/exec/exec.go | 4 ++++ 1 file changed, 4 insertions(+) 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 ( -- 2.50.0