Skip to main content

shell_argv

Function shell_argv 

Source
pub fn shell_argv(
    command: &str,
    options: &ExecOptions,
) -> Result<Vec<String>, SailError>
Expand description

Build the argv that runs command via /bin/sh -lc, applying the cwd/background shell conveniences from options and validating their combinations. This is the single implementation behind every SDK’s string-command exec.