go/src/pkg/exec
Brad Fitzpatrick f259f6ba0a exec: new API, replace Run with Command
This removes exec.Run and replaces exec.Cmd with a
new implementation. The new exec.Cmd represents
both a currently-running command and also a command
being prepared. It has a good zero value.

You can Start + Wait on a Cmd, or simply Run it.
Start (and Run) deal with copying stdout, stdin,
and stderr between the Cmd's io.Readers and
io.Writers.

There are convenience methods to capture a command's
stdout and/or stderr.

R=r, n13m3y3r, rsc, gustavo, alex.brainman, dsymonds, r, adg, duzy.chan, mike.rosset, kevlar
CC=golang-dev
https://golang.org/cl/4552052
2011-06-01 15:26:53 -07:00
..
Makefile remove nacl 2010-12-15 11:49:23 -05:00
exec.go exec: new API, replace Run with Command 2011-06-01 15:26:53 -07:00
exec_test.go exec: new API, replace Run with Command 2011-06-01 15:26:53 -07:00
lp_test.go log: rename Exit* to Fatal* 2011-02-01 12:47:35 -08:00
lp_unix.go exec: use custom error for LookPath 2011-02-01 12:12:51 -05:00
lp_windows.go exec: use custom error for LookPath 2011-02-01 12:12:51 -05:00