Skip to main content

start

Function start 

Source
pub fn start(plan: &Plan) -> Result<Started, SpawnError>
Expand description

Starts the run described by plan.

The payload is written to the hangar first, so that it exists whether or not the runner wants a path to it — a run whose instructions cannot be read afterwards is a run nobody can explain.

§Errors

Returns SpawnError when a declared variable is unset, the command is empty, or the process cannot be started.