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:
Pádraig Brady committed 2020-08-12 18:40:17 +01:00
1 parent 7cf45f4f6a
commit 5b8161ee4d
1 file changed
+2 -2
+2 -2
View File
@@ -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