On 28/06/11 19:19, Paul Eggert wrote: > I'd like to have an option to 'timeout' so that > it merely calls alarm(2) and then execs COMMAND. > This would be simple and fast would avoid the problem > in question. This approach has its own issues, but > when it works it works great, and it'd be a nice option.
The main problem with that is would only send the signal to the first process, and any processes it started would keep running. I think we should be able to figure out something more general. cheers, Pádraig.