Skip to main content

spawn_in

Function spawn_in 

Source
pub fn spawn_in(
    argv_template: &[String],
    prompt: &str,
    cwd: &Path,
    logs_dir: &Path,
    holder: &str,
    unit: &str,
    tmpdir: Option<&Path>,
) -> Result<WorkerHandle, CoreError>
Expand description

spawn with a private temp directory: workers build side by side, and test runners that share one temp root trip over each other.