• Brad Fitzpatrick's avatar
    exec: new API, replace Run with Command · f259f6ba
    Brad Fitzpatrick authored
    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
    f259f6ba
Name
Last commit
Last update
..
testdata Loading commit data...
Makefile Loading commit data...
doc.go Loading commit data...
fix.go Loading commit data...
httpfinalurl.go Loading commit data...
httpfinalurl_test.go Loading commit data...
httpserver.go Loading commit data...
httpserver_test.go Loading commit data...
main.go Loading commit data...
main_test.go Loading commit data...
netdial.go Loading commit data...
netdial_test.go Loading commit data...
osopen.go Loading commit data...
osopen_test.go Loading commit data...
procattr.go Loading commit data...
procattr_test.go Loading commit data...
reflect.go Loading commit data...
reflect_test.go Loading commit data...
typecheck.go Loading commit data...