std.ps
waitpid(pid) -> pid, status
pid
status
Wait for a specific child process (non-blocking)
Waits for the child process specified by pid and returns its PID and exit status. This is a non-blocking variant that returns immediately.