]> Cypherpunks repositories - gostls13.git/commitdiff
exec: add a little package commentary explaining its
authorRob Pike <r@golang.org>
Wed, 6 Apr 2011 19:37:17 +0000 (12:37 -0700)
committerRob Pike <r@golang.org>
Wed, 6 Apr 2011 19:37:17 +0000 (12:37 -0700)
relationship to os.Process.

R=golang-dev, rsc1
CC=golang-dev
https://golang.org/cl/4384041

src/pkg/exec/exec.go

index 75ce09990a593f8ac7f31bbda3d0f703d0605a14..5398eb8e0ca35b4f908725f9e479f65bdb307dca 100644 (file)
@@ -2,9 +2,13 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// The exec package runs external commands.
+// The exec package runs external commands. It wraps os.StartProcess
+// to make it easier to remap stdin and stdout, connect I/O with pipes,
+// and do other adjustments.
 package exec
 
+// BUG(r): This package should be made even easier to use or merged into os.
+
 import (
        "os"
        "strconv"