Module runner

Module runner 

Source
Expand description

Script execution. Runner module for nrs.

Handles script execution with the appropriate package manager.

Structs§

ExecutionResult
Result of script execution.

Constants§

EXIT_CODE_INTERRUPTED
Exit code when interrupted by Ctrl+C (SIGINT). On Unix, this is 128 + signal number (SIGINT = 2).

Functions§

execute_script
Execute a script with the given runner.
execute_workspace_script
Execute a workspace script with the given runner.
format_dry_run_command
Format a command for display in dry-run mode.
format_workspace_dry_run_command
Format a workspace command for display in dry-run mode.
run_script
Run a single script with the given runner.
run_script_in_dir
Run a single script in a specific directory.
run_scripts
Run multiple scripts sequentially.
run_scripts_in_dir
Run multiple scripts sequentially in a specific directory.
run_workspace_script
Run a workspace script.