pub trait ShellPath {
// Required method
fn shell_path(&self) -> CString;
}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.