--foreground
When not running timeout directly from a shell prompt, allow COMMAND to read from the TTY and get TTY signals; in this mode, children of COMMAND will not be timed out.
An option of timeoutx.
Usage
timeoutx --foreground [OPTION] DURATION COMMAND [ARG]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--foreground | none | when not running timeout directly from a shell prompt, allow COMMAND to read from the TTY and get TTY signals; in this mode, children of COMMAND will not be timed out |
Examples
Let an interactive command keep reading from the terminal
timeoutx --foreground 5m ssh build-hostHelp in the terminal
gnux help timeoutx --foreground