Skip to main content

invoke_bash

Function invoke_bash 

Source
pub fn invoke_bash(cwd: impl AsRef<Path>, script: &str)
Expand description

Run script with bash_program() in cwd.

Standard input is disconnected while standard output and error stay attached to the inherited handles.

ยงPanics

This function expects the script to succeed and will panic otherwise.