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 c55c996 commit 42ae9a6Copy full SHA for 42ae9a6
src/os/exec.go
@@ -34,6 +34,13 @@ func (p *ProcessState) Success() bool {
34
return false // TODO
35
}
36
37
+// Sys returns system-dependent exit information about
38
+// the process. Convert it to the appropriate underlying
39
+// type, such as syscall.WaitStatus on Unix, to access its contents.
40
+func (p *ProcessState) Sys() interface{} {
41
+ return nil // TODO
42
+}
43
+
44
// ExitCode returns the exit code of the exited process, or -1
45
// if the process hasn't exited or was terminated by a signal.
46
func (p *ProcessState) ExitCode() int {
0 commit comments