Descriptionexec: Add ExitError.ExitStatus() method.
This adds a method to the ExitError struct to help retrieve the underlying status code from the process.
It uses the same name that ssh.Waitmsg provides in the new ssh package in go.crypto:
http://godoc.org/code.google.com/p/go.crypto/ssh#Waitmsg.ExitStatus
Patch Set 1 #Patch Set 2 : diff -r 9cd3a4758b94 https://code.google.com/p/go #Patch Set 3 : diff -r 9cd3a4758b94 https://code.google.com/p/go #
Total comments: 2
MessagesTotal messages: 10
|