mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
doc: clarify timeout --foreground description
* doc/coreutils.texi (timeout invocation): Avoid any implication that `timeout --foreground` could be used to retroactively timeout commands not already invoked by timeout(1). Fixes bug https://bugs.gnu.org/42831
This commit is contained in:
1 parent
7cf45f4f6a
commit
5b8161ee4d
1 file changed
+2
-2
+2
-2
@@ -18077,8 +18077,8 @@ managed @var{command} supports running for an indeterminate amount of time.
|
||||
@opindex --foreground
|
||||
Don't create a separate background program group, so that
|
||||
the managed @var{command} can use the foreground TTY normally.
|
||||
This is needed to support timing out commands not started
|
||||
directly from an interactive shell, in two situations.
|
||||
This is needed to support two situations when timing out commands,
|
||||
when not invoking @command{timeout} from an interactive shell.
|
||||
@enumerate
|
||||
@item
|
||||
@var{command} is interactive and needs to read from the terminal for example
|
||||
|
||||
Reference in new issue
Block a user