library os: StartProcess/Wait

This commit is contained in:
xushiwei
2024-07-18 22:27:00 +08:00
parent c248a50338
commit a8e1fd1054
4 changed files with 24 additions and 4 deletions

View File

@@ -14,7 +14,6 @@ import (
)
func (p *Process) wait() (ps *ProcessState, err error) {
/* TODO(xsw):
if p.Pid == -1 {
return nil, syscall.EINVAL
}
@@ -58,8 +57,6 @@ func (p *Process) wait() (ps *ProcessState, err error) {
rusage: &rusage,
}
return ps, nil
*/
panic("todo: os.Process.wait")
}
func (p *Process) signal(sig Signal) error {