Kills a process by it’s handle.
Does not free memory allocated by nstd_proc_spawn.
Parameters:
NSTDChildProcess handle - The handle to the process.
Returns: int errc - Nonzero on error.
Starts a new process.
Parameters:
const char *const name - The name of the process.
const char *args - String array of arguments to pass to the process.
const NSTDUSize size - The number of args to pass.
Returns: NSTDChildProcess handle - The handle to the new process, null on error.
Waits for a process to finish.
Does not free memory allocated by nstd_proc_spawn.
Parameters:
NSTDChildProcess handle - The handle to the process.
int *code - The exit code from the process, set to null if there was none specified.