summaryrefslogtreecommitdiff
path: root/tests/cp/capability
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2011-07-06 23:17:10 +0100
committerPádraig Brady <P@draigBrady.com>2011-07-08 11:23:08 +0100
commit4496c94091f8a6bc95fc1c0868eba632fae99ba3 (patch)
tree44e2b1a618a781abeb02a639387efcf6320abbed /tests/cp/capability
parent28a7fb52bc1160ffe1acac2e4fc3fa495d021ec4 (diff)
downloadcoreutils-4496c94091f8a6bc95fc1c0868eba632fae99ba3.tar.xz
timeout: add --foreground to support interactive commands
Or more accurately, commands not started from the shell prompt, that are interactive, or need to receive Ctrl-C etc. from the terminal. * doc/coreutils.texi (timeout invocation): Document --foreground. * src/timeout.c (main): Set the foreground flag and don't create a separate group. (cleanup): Only send a signal directly to the monitored command when the foreground flag is set. (usage): Describe --foreground. * tests/misc/timeout-group: Add a new test. * tests/Makefile.am: Reference new test. NEWS: Mention the new option. Reported by Shay Shimony Analysis by Alan Curry Fix suggested by Paul Eggert
Diffstat (limited to 'tests/cp/capability')
0 files changed, 0 insertions, 0 deletions