diff options
| author | Rob Pike <r@golang.org> | 2011-04-06 12:37:17 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2011-04-06 12:37:17 -0700 |
| commit | 1e1e2f0971178e2a42a6c186ed3e1274fdf4ab81 (patch) | |
| tree | ecc51f35fe1ef51aa12e0e19c44c67c1a189d322 /src/pkg/exec/exec.go | |
| parent | 2671ddd10b955e33bbeda98aa1af7c4936d3bffa (diff) | |
| download | go-1e1e2f0971178e2a42a6c186ed3e1274fdf4ab81.tar.xz | |
exec: add a little package commentary explaining its
relationship to os.Process.
R=golang-dev, rsc1
CC=golang-dev
https://golang.org/cl/4384041
Diffstat (limited to 'src/pkg/exec/exec.go')
| -rw-r--r-- | src/pkg/exec/exec.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pkg/exec/exec.go b/src/pkg/exec/exec.go index 75ce09990a..5398eb8e0c 100644 --- a/src/pkg/exec/exec.go +++ b/src/pkg/exec/exec.go @@ -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" |
