address@hidden (Paul Jarc) writes:
> How would
> you limit wall-clock time? Schedule SIGALRM with setitimer and then
> exec the given command?
I've long used a command of my own called 'alarm' that just does that.
However, this strategy doesn't always work well if the command has
subprocesses, since the signal is sent only to the exec'ed process.