Commit 6f96cf27 authored by Adam Shannon's avatar Adam Shannon Committed by Ian Lance Taylor

os/exec: document ExtraFiles is not supported on windows

Fixes #26182

Change-Id: I1181e191f4742f166c9b67a6f41332a237cf0ede
Reviewed-on: https://go-review.googlesource.com/123855Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 00f32fbe
...@@ -113,6 +113,8 @@ type Cmd struct { ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment