Skip to main content

run_script_unsandboxed

Function run_script_unsandboxed 

Source
pub fn run_script_unsandboxed(
    run: &ScriptRun,
    cancelled: &dyn Fn() -> bool,
) -> Result<ScriptOutcome, String>
Expand description

Run a script as a plain child process: no sandbox. Kills it (and its process group) on timeout or when cancelled() turns true. Err only when it couldn’t start.