Expand description
Script execution. Runner module for nrs.
Handles script execution with the appropriate package manager.
Structs§
- Execution
Result - 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.