pub fn parse_string_as_args(args_str: &OsStr) -> Result<Vec<OsString>, String>
Parses a string as a list of arguments following the shell’s parsing rules. This uses g_shell_parse_argv() for parsing.
g_shell_parse_argv()