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".