The process lifecycle
Operating system processes

Prev:Launching processes
Next:Specifying a command


A freshly instantiated process represents a set of launch parameters.
process

<process> ( -- process )


Words for launching processes take a fresh process which has never been started before as input, and output a copy as output.
process-started? ( process -- ? )


The process instance output by launching words contains all original slot values in addition to the handle slot, which indicates the process is currently running.
process-running? ( process -- ? )


It is possible to wait for a process to exit:
wait-for-process ( process -- status )


A running process can also be killed:
kill-process ( process -- )