1
0
mirror of https://github.com/golang/go synced 2024-11-23 09:10:08 -07:00
go/src/cmd
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
..
5a 5a, 6a, 8a, cc: remove old environment variables 2011-05-02 11:24:32 -04:00
5c 5c, 5g: another attempt at silencing gcc 2011-05-16 16:15:13 -04:00
5g 5g: alignment fixes 2011-05-25 10:18:49 -04:00
5l 5l: fix build 2011-05-25 09:44:05 -04:00
6a 5a, 6a, 8a, cc: remove old environment variables 2011-05-02 11:24:32 -04:00
6c build: use gcc -Werror 2011-04-13 16:18:09 -04:00
6g gc: inline append when len<cap 2011-05-11 16:35:11 +02:00
6l ld: add -w to disable dwarf, make errors obviously from dwarf 2011-05-25 08:25:33 -04:00
8a 5a, 6a, 8a, cc: remove old environment variables 2011-05-02 11:24:32 -04:00
8c build: use gcc -Werror 2011-04-13 16:18:09 -04:00
8g 8g: fix conversion from float to uint64 2011-05-16 22:14:56 -04:00
8l ld: add -w to disable dwarf, make errors obviously from dwarf 2011-05-25 08:25:33 -04:00
cc 5a, 6a, 8a, cc: remove old environment variables 2011-05-02 11:24:32 -04:00
cgo pkg: spelling tweaks, I-Z 2011-05-30 18:02:59 +10:00
cov
ebnflint path/filepath: new OS-specific path support 2011-03-06 17:33:23 -05:00
gc gc: make merely referencing an outer variable in a closure not force heapallocation. 2011-06-01 17:02:43 +02:00
godefs godefs: handle volatile 2011-03-23 11:33:53 -04:00
godoc go spec: be precise with the use of the informal ellipsis … and the Go token ... 2011-05-24 14:18:44 -07:00
gofix exec: new API, replace Run with Command 2011-06-01 15:26:53 -07:00
gofmt exec: new API, replace Run with Command 2011-06-01 15:26:53 -07:00
goinstall exec: new API, replace Run with Command 2011-06-01 15:26:53 -07:00
gomake
gopack gopack: preserve safe flag when not adding unsafe objects to archive 2011-04-27 09:20:53 -04:00
gotest gotest, pkg/exec: use bash instead of sh to execute shell scripts on windows 2011-05-28 21:26:03 +10:00
gotry gotry: move into its own directory, separate from gotest. 2011-03-29 13:00:24 -07:00
gotype go/types: type checker API + testing infrastructure 2011-05-13 15:31:09 -07:00
govet govet: make name-matching for printf etc. case-insensitive. 2011-04-13 16:57:44 -07:00
goyacc govet: make name-matching for printf etc. case-insensitive. 2011-04-13 16:57:44 -07:00
hgpatch exec: new API, replace Run with Command 2011-06-01 15:26:53 -07:00
ld 5l: fix build 2011-05-25 09:44:05 -04:00
nm nm: document -S flag 2011-03-08 13:04:30 -05:00
prof http/pprof: fix POST reading bug 2011-05-02 17:34:22 -04:00
Makefile gotest: replace the shell script with the compiled program written in go. 2011-03-29 13:29:20 -07:00