pub fn get_shell_name() -> Result<String, Error>
Expand description
Fetches the parent process’s name in lowercase.
§Errors
Returns Error::UnsupportedPlatform
if the call to sysinfo::get_current_pid
fails.
Returns Error::NoParent
if this process has no parent.