Process
Functions
Terminates the process, then waits until it has actually gone.
Reports the exit status of a process that has already terminated, or null if it is still running (or the platform cannot tell).
Reads the exit status, or null while the process is still running.
Reads the exit status via GetExitCodeProcess, the same call Process.isAlive uses — null while it still reports STILL_ACTIVE.
Not available on this target: liveness here is kill(pid, 0), which says whether the process exists but never carries its exit status, and nothing reaps the child to collect one.
Reads whatever is currently buffered on the process's stderr, or null if unavailable.
Reads whatever is currently buffered on the process's stderr, bounded in both size and time.
Not available on this target: startProcess here calls CreateProcessW without redirecting the child's standard streams, so there is no pipe to read from.