Lines Matching +full:- +full:- +full:timeout +full:- +full:minutes
1 /* timeout.c - Run command line with a timeout
7 USE_TIMEOUT(NEWTOY(timeout, "<2^(foreground)(preserve-status)vk:s(signal):", TOYFLAG_USR|TOYFLAG_BI…
9 config TIMEOUT
10 bool "timeout"
13 usage: timeout [-k DURATION] [-s SIGNAL] DURATION COMMAND...
19 (minutes), "h" (hours), "d" (days), or "s" (seconds, the default).
21 -s Send specified signal (default TERM)
22 -k Send KILL signal if child still running this long after first signal
23 -v Verbose
24 --foreground Don't create new process group
25 --preserve-status Exit with the child's exit status
43 fprintf(stderr, "timeout pid %d signal %d\n", TT.pid, TT.nextsig); in handler()
62 tv->tv_sec = xparsetime(s, 6, &ll); in xparsetimeval()
63 tv->tv_usec = ll; in xparsetimeval()
74 if (TT.s && -1 == (TT.nextsig = sig_to_num(TT.s))) in timeout_main()
75 error_exit("bad -s: '%s'", TT.s); in timeout_main()