Skip to main content

open_ending

Function open_ending 

Source
pub(super) fn open_ending(
    command: &str,
    family: ShellFamily,
) -> Option<&'static str>
Expand description

How command ends if it doesn’t end a command: in the background (&), or waiting for more (a pipe, &&, ||, a line continuation). The exit marker can’t follow such a line, so run refuses it instead of waiting out its timeout.