pub fn execute_script(
runner: Runner,
script: &str,
args: &[String],
project_dir: &Path,
dry_run: bool,
) -> Result<ExecutionResult>Expand description
Execute a script with the given runner.
This is the low-level execution function that spawns the process.
§Arguments
runner- The package manager to usescript- The script name to runargs- Additional arguments to pass to the scriptproject_dir- The project directory to run indry_run- If true, print the command without executing
§Errors
Returns an error if the script fails to execute.