Skip to main content

Module process

Module process 

Source
Expand description

Process — running a program somewhere.

Structs§

ExitStatus
OutputChunk
A piece of output, tagged with where it came from.
ProcessSpec
What to run. A shell command is one of these by the time it gets here: bash -c <command>. There is deliberately no separate shell contract — two execution contracts would mean two places a sandbox has to be attached, and therefore two places it can be missed.

Enums§

OutputStream

Constants§

OUTPUT_GRACE_AFTER_EXIT
How long output may keep arriving once the process itself has exited.

Traits§

Process
Where a program runs.
ProcessHandle
A process that has started.