• Dave Cheney's avatar
    exp/ssh: alter Session to match the exec.Cmd API · fb57134d
    Dave Cheney authored
    This CL inverts the direction of the Stdin/out/err members of the
    Session struct so they reflect the API of the exec.Cmd. In doing so
    it borrows heavily from the exec package.
    
    Additionally Shell now returns immediately, wait for completion using
    Wait. Exec calls Wait internally and so blocks until the remote
    command is complete.
    
    Credit to Gustavo Niemeyer for the impetus for this CL.
    
    R=rsc, agl, n13m3y3r, huin, bradfitz
    CC=cw, golang-dev
    https://golang.org/cl/5322055
    fb57134d
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...