aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorAdam Shannon <adamkshannon@gmail.com>2018-07-13 13:44:51 -0500
committerIan Lance Taylor <iant@golang.org>2018-07-13 22:29:48 +0000
commit6f96cf2793830fa33f18d154ac360eb8e53b79ea (patch)
treef40c018d8d4c6876cb336dc64ec60b0a5b343dde /src/os/exec/exec.go
parent00f32fbe7ab053f67e255d1350a34e05b07a6ad6 (diff)
downloadgo-6f96cf2793830fa33f18d154ac360eb8e53b79ea.tar.gz
go-6f96cf2793830fa33f18d154ac360eb8e53b79ea.zip
os/exec: document ExtraFiles is not supported on windows
Fixes #26182 Change-Id: I1181e191f4742f166c9b67a6f41332a237cf0ede Reviewed-on: https://go-review.googlesource.com/123855 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
-rw-r--r--src/os/exec/exec.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/exec/exec.go b/src/os/exec/exec.go
index 41fbf96370..88b0a91699 100644
--- a/src/os/exec/exec.go
+++ b/src/os/exec/exec.go
@@ -113,6 +113,8 @@ type Cmd struct {
// ExtraFiles specifies additional open files to be inherited by the
// new process. It does not include standard input, standard output, or
// standard error. If non-nil, entry i becomes file descriptor 3+i.
+ //
+ // ExtraFiles is not supported on Windows.
ExtraFiles []*os.File
// SysProcAttr holds optional, operating system-specific attributes.