We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbcbe84 commit d4636aaCopy full SHA for d4636aa
src/os/exec.go
@@ -47,6 +47,10 @@ func (p *ProcessState) Sys() interface{} {
47
return nil // TODO
48
}
49
50
+func (p *ProcessState) Exited() bool {
51
+ return false // TODO
52
+}
53
+
54
// ExitCode returns the exit code of the exited process, or -1
55
// if the process hasn't exited or was terminated by a signal.
56
func (p *ProcessState) ExitCode() int {
@@ -57,6 +61,7 @@ type Process struct {
57
61
Pid int
58
62
59
63
64
+// Wrapper for the forkExec function, which is a wrapper around the fork and execve system calls.
60
65
func StartProcess(name string, argv []string, attr *ProcAttr) (*Process, error) {
66
return startProcess(name, argv, attr)
67
0 commit comments