shadow_rs::core::configuration

Function parse_string_as_args

source
pub fn parse_string_as_args(args_str: &OsStr) -> Result<Vec<OsString>, String>
Expand description

Parses a string as a list of arguments following the shell’s parsing rules. This uses g_shell_parse_argv() for parsing.