• Russ Cox's avatar
    exec: introduce ExitError · 451a1fa4
    Russ Cox authored
    The existing code uses *os.Waitmsg as an os.Error,
    but *os.Waitmsg is really just a stringer.
    
    Introduce an explicit error type for the real error.
    
    Not to be submitted until just before error goes in;
    the gofix for error updates type assertions
            err.(*os.Waitmsg)
    to
            err.(*exec.ExitError)
    
    The seemingly redundant String method will become
    an Error method when error goes in, and will no longer
    be redundant.
    
    R=golang-dev, bradfitz
    CC=golang-dev
    https://golang.org/cl/5331044
    451a1fa4
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...