• 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
..
cgi Loading commit data...
fcgi Loading commit data...
httptest Loading commit data...
pprof Loading commit data...
spdy Loading commit data...
testdata Loading commit data...
Makefile Loading commit data...
chunked.go Loading commit data...
client.go Loading commit data...
client_test.go Loading commit data...
cookie.go Loading commit data...
cookie_test.go Loading commit data...
dump.go Loading commit data...
export_test.go Loading commit data...
fs.go Loading commit data...
fs_test.go Loading commit data...
header.go Loading commit data...
header_test.go Loading commit data...
lex.go Loading commit data...
lex_test.go Loading commit data...
persist.go Loading commit data...
proxy_test.go Loading commit data...
range_test.go Loading commit data...
readrequest_test.go Loading commit data...
request.go Loading commit data...
request_test.go Loading commit data...
requestwrite_test.go Loading commit data...
response.go Loading commit data...
response_test.go Loading commit data...
responsewrite_test.go Loading commit data...
reverseproxy.go Loading commit data...
reverseproxy_test.go Loading commit data...
serve_test.go Loading commit data...
server.go Loading commit data...
status.go Loading commit data...
transfer.go Loading commit data...
transport.go Loading commit data...
transport_test.go Loading commit data...
triv.go Loading commit data...
url.go Loading commit data...
url_test.go Loading commit data...