pub trait ShellPath {
// Required method
fn shell_path(&self) -> CString;
}Expand description
Trait for getting the path to the shell executable
Required Methods§
Sourcefn shell_path(&self) -> CString
fn shell_path(&self) -> CString
Returns the path to the shell executable.
If possible, this function should return the path to the current shell executable. Otherwise, it should return the path to the default POSIX shell.