Skip to main content

shell_exec

Function shell_exec 

Source
pub fn shell_exec(
    script: &str,
    output: &mut dyn Output,
    mode: OutputMode,
    viewport_size: usize,
) -> Result<CommandResult, ShellError>
Expand description

Execute a script via the system shell. Unix: bash -c "script", Windows: powershell -Command "script".