bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New util suggestion: timeout


From: Paul Eggert
Subject: Re: New util suggestion: timeout
Date: Mon, 28 Jun 2004 09:24:46 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]