os: Add some exec.ProcessState stubs
Этот коммит содержится в:
родитель
c55c996c5d
коммит
42ae9a665f
1 изменённых файлов: 7 добавлений и 0 удалений
|
@ -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 {
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче