Skip to content

Commit d4636aa

Browse files
committed
update wrapper comment
1 parent dbcbe84 commit d4636aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/os/exec.go

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ func (p *ProcessState) Sys() interface{} {
4747
return nil // TODO
4848
}
4949

50+
func (p *ProcessState) Exited() bool {
51+
return false // TODO
52+
}
53+
5054
// ExitCode returns the exit code of the exited process, or -1
5155
// if the process hasn't exited or was terminated by a signal.
5256
func (p *ProcessState) ExitCode() int {
@@ -57,6 +61,7 @@ type Process struct {
5761
Pid int
5862
}
5963

64+
// Wrapper for the forkExec function, which is a wrapper around the fork and execve system calls.
6065
func StartProcess(name string, argv []string, attr *ProcAttr) (*Process, error) {
6166
return startProcess(name, argv, attr)
6267
}

0 commit comments

Comments
 (0)