Skip to main content

configured_shell_kind

Function configured_shell_kind 

Source
pub fn configured_shell_kind(restricted_mode: bool) -> ShellKind
Expand description

The shell family a new PTY would get right now, from the same selection the spawner uses. Command policy (single-statement checks, static write analysis) consults it before a shell exists.