Skip to Content
gnux

--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

ShortLongValueDefaultMeaning
--foregroundnonewhen 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-host

Help in the terminal

gnux help timeoutx --foreground

On this page