run-process ( desc -- process )
Operating system processes > Launching processes

Next:try-process ( desc -- )


Vocabulary
io.launcher

Inputs and outputs
desca launch descriptor
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 can be passed to wait-for-process to get an exit code.

See also
try-process, run-detached

Definition