Skip to main content

parse_shell_wrapper_str

Function parse_shell_wrapper_str 

Source
pub fn parse_shell_wrapper_str(s: &str) -> Result<Vec<String>>
Expand description

Parse a CLI --shell-wrapper string (e.g. "bash -lc") into an argv vec.

Splits on whitespace; returns an error if the result is empty.