os: Add some exec.ProcessState stubs

Этот коммит содержится в:
Elliott Sales de Andrade 2022-02-06 20:22:26 -05:00 коммит произвёл Ron Evans
родитель c55c996c5d
коммит 42ae9a665f

Просмотреть файл

@ -34,6 +34,13 @@ func (p *ProcessState) Success() bool {
return false // TODO
}
// Sys returns system-dependent exit information about
// the process. Convert it to the appropriate underlying
// type, such as syscall.WaitStatus on Unix, to access its contents.
func (p *ProcessState) Sys() interface{} {
return nil // TODO
}
// ExitCode returns the exit code of the exited process, or -1
// if the process hasn't exited or was terminated by a signal.
func (p *ProcessState) ExitCode() int {