ExitCode returns the exit code of the exited process, or -1 if the process hasn't exited or was terminated by a signal.
()
| 60 | // ExitCode returns the exit code of the exited process, or -1 |
| 61 | // if the process hasn't exited or was terminated by a signal. |
| 62 | func (p *ProcessState) ExitCode() int { |
| 63 | return -1 // TODO |
| 64 | } |
| 65 | |
| 66 | type Process struct { |
| 67 | Pid int |
no outgoing calls