run-process ( desc -- process )
Operating system processes ยป Launching processes

Next:run-processes ( descs -- processes )


Vocabulary
io.launcher

Inputs
desca launch descriptor


Outputs
processa process


Word description
Launches a process. The object can either be a string, a sequence of strings or a process. See Launch descriptors for details.

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


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

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

Definition