From: Rob Pike Date: Wed, 6 Apr 2011 19:37:17 +0000 (-0700) Subject: exec: add a little package commentary explaining its X-Git-Tag: weekly.2011-04-13~84 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1e1e2f0971178e2a42a6c186ed3e1274fdf4ab81;p=gostls13.git exec: add a little package commentary explaining its relationship to os.Process. R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4384041 --- 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"