Skip to content

Commit 6f96cf2

Browse files
adamdecafianlancetaylor
authored andcommitted
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 <[email protected]>
1 parent 00f32fb commit 6f96cf2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/os/exec/exec.go

+2
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ type Cmd struct {
113113
// ExtraFiles specifies additional open files to be inherited by the
114114
// new process. It does not include standard input, standard output, or
115115
// standard error. If non-nil, entry i becomes file descriptor 3+i.
116+
//
117+
// ExtraFiles is not supported on Windows.
116118
ExtraFiles []*os.File
117119

118120
// SysProcAttr holds optional, operating system-specific attributes.

0 commit comments

Comments
 (0)