Skip to main content

run_script

Function run_script 

Source
pub fn run_script(
    script_name: &str,
    cwd: &Path,
    extra_env: Option<HashMap<String, String>>,
) -> Result<ExitStatus, String>
Expand description

Run a package.json script: set PATH to include node_modules/.bin, optional npm_* env, then shell.