aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/os/exec/exec.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2011-12-21 17:08:16 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2011-12-21 17:08:16 -0800
commit90d56e072f8125be85b77f085e3f576d6533c29d (patch)
treeee5c3fc12baecb6f1ec891333402169c2bb473c8 /src/pkg/os/exec/exec.go
parent5690ddc7fa033e10961c728ddd6bccf4903707d4 (diff)
downloadgo-90d56e072f8125be85b77f085e3f576d6533c29d.tar.xz
exec: disable the ExtraFiles test on darwin
Still a mystery. New issue 2603 filed. R=golang-dev, dsymonds, iant CC=golang-dev https://golang.org/cl/5503063
Diffstat (limited to 'src/pkg/os/exec/exec.go')
-rw-r--r--src/pkg/os/exec/exec.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pkg/os/exec/exec.go b/src/pkg/os/exec/exec.go
index 4c95c1b0da..a00fdad497 100644
--- a/src/pkg/os/exec/exec.go
+++ b/src/pkg/os/exec/exec.go
@@ -67,6 +67,9 @@ 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.
+ //
+ // BUG: on OS X 10.6, child processes may sometimes inherit extra fds.
+ // http://golang.org/issue/2603
ExtraFiles []*os.File
// SysProcAttr holds optional, operating system-specific attributes.