Skip to main content

parse_custom_shell

Function parse_custom_shell 

Source
pub fn parse_custom_shell(shell: &str) -> Option<Vec<String>>
Expand description

Parse a custom shell invocation (e.g. /bin/sh -c) into argv tokens. Returns None for empty or whitespace-only input — a misconfiguration the daemon rejects at startup; library callers fall back to the default shell.