Skip to content

Commit 42ae9a6

Browse files
QuLogicdeadprogram
authored andcommitted
os: Add some exec.ProcessState stubs
1 parent c55c996 commit 42ae9a6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/os/exec.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ func (p *ProcessState) Success() bool {
3434
return false // TODO
3535
}
3636

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+
3744
// ExitCode returns the exit code of the exited process, or -1
3845
// if the process hasn't exited or was terminated by a signal.
3946
func (p *ProcessState) ExitCode() int {

0 commit comments

Comments
 (0)