pub fn is_shell_invocation_with_args(command: &str) -> bool
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).
bash -i -c "cmd"