Skip to main content

is_shell_invocation_with_args

Function is_shell_invocation_with_args 

Source
pub fn is_shell_invocation_with_args(command: &str) -> bool
Expand description

Returns true if command is a shell invocation that includes -c (e.g. bash -i -c "cmd"). Used to pass such commands directly without double-wrapping (issue #91).