1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
//! # os_script
//!
//! Runs OS scripts.
//!

#[cfg(test)]
#[path = "./os_script_test.rs"]
mod os_script_test;

use crate::command;

pub(crate) fn execute(
    script_text: &Vec<String>,
    runner: Option<String>,
    cli_arguments: &Vec<String>,
    validate: bool,
) {
    command::run_script_get_exit_code(&script_text, runner, &cli_arguments, validate);
}