Skip to main content

Module interactive

Module interactive 

Source
Expand description

Interactive / watch / TTY detection (spec §21.3).

Functions§

has_watch_flag
Watch-mode flags that keep a process running (→ passthrough). Note -w is deliberately excluded: for grep/find it means “word”/“writable”, not watch.
is_known_interactive
(shim, subcommand) pairs that inherently prompt / hold the terminal.
stdin_is_tty