Change Exited/Status to SetExited/ExitStatus

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-07-31 14:14:11 -04:00
parent a2a3451925
commit 9f08965699
4 changed files with 12 additions and 12 deletions

View File

@@ -76,7 +76,7 @@ func (e *execProcess) Pid() int {
return e.pid
}
func (e *execProcess) Status() int {
func (e *execProcess) ExitStatus() int {
return e.status
}
@@ -84,7 +84,7 @@ func (e *execProcess) ExitedAt() time.Time {
return e.exited
}
func (e *execProcess) Exited(status int) {
func (e *execProcess) SetExited(status int) {
e.status = status
e.exited = time.Now()
e.parent.platform.shutdownConsole(context.Background(), e.console)