Vocabularyio.
launcherInputsOutputsNone
Word descriptionLaunches a process and waits for it to complete. If it exits with a non-zero status code, throws a
process-failed error.
ExamplesUSING: continuations io.launcher prettyprint ;
[ "i-dont-exist" try-process ] [ ] recover .
T{ process-failed
{ process
T{ process
{ command "i-dont-exist" }
{ environment H{ } }
{ environment-mode +append-environment+ }
{ group +same-group+ }
{ status 255 }
}
}
}
See alsorun-process,
run-processes,
run-detachedDefinition