Skip to main content

speccoder

Function speccoder 

Source
pub fn speccoder(
    root: &Path,
    args: &[String],
    cancel: &Arc<AtomicBool>,
    line: &dyn Fn(Stream, &str),
) -> Result<Value, String>
Expand description

Runs speccoder itself with args in root, as a job: no time limit, a stop asks it to stop (as ctrl-c would) before it is killed. Its standard error goes to line; its result, read from --json, is the job’s. Err: it gave none (it could not start, or was stopped first).

§Errors

No result came back.