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.