Function query_shell::get_shell_name
source · [−]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.