1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:04:47 -07:00

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>
This commit is contained in:
Adam Shannon 2018-07-13 13:44:51 -05:00 committed by Ian Lance Taylor
parent 00f32fbe7a
commit 6f96cf2793

View File

@ -113,6 +113,8 @@ type Cmd struct {
// ExtraFiles specifies additional open files to be inherited by the // ExtraFiles specifies additional open files to be inherited by the
// new process. It does not include standard input, standard output, or // new process. It does not include standard input, standard output, or
// standard error. If non-nil, entry i becomes file descriptor 3+i. // standard error. If non-nil, entry i becomes file descriptor 3+i.
//
// ExtraFiles is not supported on Windows.
ExtraFiles []*os.File ExtraFiles []*os.File
// SysProcAttr holds optional, operating system-specific attributes. // SysProcAttr holds optional, operating system-specific attributes.