Re: timeout --help --help

2010-03-22 Thread Kim Hansen
2010/3/22 Pádraig Brady p...@draigbrady.com: On 21/03/10 16:16, Kim Hansen wrote: When testing the --kill-after I found the following strange behaviour:   k...@raph:~$ timeout --help --help   timeout: unrecognized option '--help'   Try `timeout --help' for more information.   k...@raph

timeout --help --help

2010-03-21 Thread Kim Hansen
; + +case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS); + default: usage (EXIT_CANCELED); break; k...@raph:/tmp/coreutils/git/src$ -- Kim Hansen Vadgårdsvej 3, 2.tv 2860 Søborg Fastnet: 3956 2437 -- Mobil: 3091 2437

Re: What signal should timeout send when it gets a SIGTERM?

2010-03-08 Thread Kim Hansen
idea, that would solve all my problems, and at the same time it changes the interface for other users very little. A SIGNALS section in the man page explainig this might also be a good idea. Can you tell me what version of coreutils this change will end up in? Thanks, -- Kim Hansen Vadgårdsvej 3, 2

Re: What signal should timeout send when it gets a SIGTERM?

2010-03-08 Thread Kim Hansen
not exit. An other alternative is to add a new --term-signal option that could be used to tell what signal the user want forwarded if the timeout command gets a TERM. Then I could use the command like this: timeout --signal=KILL --term-signal=KILL 1h ./my_program -- Kim Hansen Vadgårdsvej 3, 2.tv

What signal should timeout send when it gets a SIGTERM?

2010-03-07 Thread Kim Hansen
as that makes it easy to send a SIGKILL, is there a chance that you could change timeout in coreutils to do it like that? Regards, -- Kim Hansen Vadgårdsvej 3, 2.tv 2860 Søborg Fastnet: 3956 2437 -- Mobil: 3091 2437