Skip to main content

try_run_file_captured

Function try_run_file_captured 

Source
pub fn try_run_file_captured(path: impl AsRef<Path>) -> Result<String, RunError>
Expand description

Parse and run a crok script file. Returns Ok(output) on success, or Err(RunError) with the error message and captured output on failure.