Skip to main content

send_spawn

Function send_spawn 

Source
pub async fn send_spawn(
    client: &ControlClient,
    spawn_args: SpawnArgs,
    json: bool,
) -> Result<()>
Expand description

Send a resolved spawn request to the daemon and report the outcome, printing the new run id on success.

Warnings go to stderr, so --json leaves stdout parseable on its own.