Skip to content

Commit

Permalink
os/exec: document ExtraFiles is not supported on windows
Browse files Browse the repository at this point in the history
Fixes #26182

Change-Id: I1181e191f4742f166c9b67a6f41332a237cf0ede
Reviewed-on: https://go-review.googlesource.com/123855
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
adamdecaf authored and ianlancetaylor committed Jul 13, 2018
1 parent 00f32fb commit 6f96cf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/os/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6f96cf2

Please sign in to comment.