Skip to main content

execute_capture

Function execute_capture 

Source
pub fn execute_capture(
    dir: &Path,
    timeout: Option<&str>,
    strict: bool,
    update_lock: bool,
    options: &Options,
) -> Result<CaptureOutcome, String>
Expand description

Boot a project for bounded simulated time, capturing everything.

This is run without the terminal: the serial stream is returned rather than printed, and the part states are read back when the time limit is reached. A normal bounded run still exits 42, matching the CLI.