Module e_runner

Source

Statics§

GLOBAL_CHILD

Functions§

check_rust_script_installed
Checks if rust-script is installed and suggests installation if it’s not.
is_active_rust_script
Returns true if the file’s a “rust-script”
open_ai_summarize_for_target
Asynchronously launches the GenAI summarization example for the given target. It builds the command using the target’s manifest path as the “origin” argument.
register_ctrlc_handler
Registers a global Ctrl+C handler once. The handler checks GLOBAL_CHILD and kills the child process if present.
run_example
Runs the given example (or binary) target.
run_rust_script
spawn_cargo_process
Helper function to spawn a cargo process. On Windows, this sets the CREATE_NEW_PROCESS_GROUP flag.