Skip to main content

spawn_report

Function spawn_report 

Source
pub fn spawn_report(spawned: &SpawnedRun, json: bool) -> String
Expand description

Render a spawn outcome for printing: JSON when json, else the sentence.

Split from send_spawn so both shapes are testable without a daemon.