We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c7973 commit ac9e11fCopy full SHA for ac9e11f
src/os/exec_plan9.go
@@ -136,3 +136,7 @@ func (p *ProcessState) String() string {
136
}
137
return "exit status: " + p.status.Msg
138
139
+
140
+func (p *ProcessState) ExitStatus() int {
141
+ return p.status.ExitStatus()
142
+}
src/os/exec_posix.go
@@ -106,3 +106,7 @@ func (p *ProcessState) String() string {
106
107
return res
108
109
110
111
112
0 commit comments