pub fn auto_interactive<S: System>(system: &S, run: &Run) -> boolExpand description
Tests whether the shell should be implicitly interactive.
As per POSIX, “if there are no operands and the shell’s standard input and standard error are attached to a terminal, the shell is considered to be interactive.” This function implements this rule.