run-processes ( descs -- processes )
Operating system processes ยป Launching processes

Prev:run-process ( desc -- process )
Next:try-process ( desc -- )


Vocabulary
io.launcher

Inputs
descsa sequence of launch descriptors


Outputs
processesa sequence of process


Word description
Launches a sequence of processes that will execute in serial by default or in parallel if detached is true. Each desc can either be a string, a sequence of strings or a process. See Launch descriptors for details.

Examples
USING: io.launcher prettyprint ; { "ls" "ls" } run-processes .
{ T{ process { command "ls" } { environment H{ } } { environment-mode +append-environment+ } { group +same-group+ } { status 0 } } T{ process { command "ls" } { environment H{ } } { environment-mode +append-environment+ } { group +same-group+ } { status 0 } } }


Notes
The output values will have an exit code set or can be passed to wait-for-process to get an exit code in the case of detached processes.

See also
run-process, try-process, run-detached

Definition