Module e_runner

Module e_runner 

Source

Statics§

GLOBAL_CHILDREN

Functions§

check_rust_script_installed
Checks if rust-script is installed and suggests installation if it’s not.
check_scriptisto_installed
Checks if scriptisto is installed and suggests installation if it’s not.
get_process_results_in_place
is_active_rust_script
Returns true if the file’s a “rust-script”
is_active_scriptisto
Returns true if the file’s a “scriptisto”
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 that uses the process manager.
reset_ctrl_c_count
Resets the Ctrl+C counter. This can be called to reset the count when starting a new program or at any other point.
run_example
Runs the given example (or binary) target.
run_rust_script
run_rust_script_with_ctrlc_handling
run_scriptisto
run_scriptisto_with_ctrlc_handling
spawn_cargo_process
Helper function to spawn a cargo process. On Windows, this sets the CREATE_NEW_PROCESS_GROUP flag.
take_process_results
wait_for_tts_to_finish