]> Cypherpunks repositories - gostls13.git/commitdiff
os/exec: document ExtraFiles is not supported on windows
authorAdam Shannon <adamkshannon@gmail.com>
Fri, 13 Jul 2018 18:44:51 +0000 (13:44 -0500)
committerIan Lance Taylor <iant@golang.org>
Fri, 13 Jul 2018 22:29:48 +0000 (22:29 +0000)
Fixes #26182

Change-Id: I1181e191f4742f166c9b67a6f41332a237cf0ede
Reviewed-on: https://go-review.googlesource.com/123855
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/os/exec/exec.go

index 41fbf963708cb26572472692b8f755a0bd380e0e..88b0a916992ede67a2222262f800c63ad0eab361 100644 (file)
@@ -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.