pub fn shell_with(custom: Option<&str>) -> Result<(String, Vec<String>), String>
The shell for commands: the shellPath setting when set and not empty, with ~ and file:// expanded as pi’s getShellPath does, else shell.
shellPath
~
file://
getShellPath
shell