Am 25.02.2014 17:30, schrieb Pádraig Brady:
> On 02/25/2014 04:10 PM, Thomas Sattler wrote:
>> How about exporting the DURATION to the command's environment?
> 
> So you mean for timeout(1) to inspect the env and honor a DURATION there?

No, I thought of timeout(1) informing its child process about the
duration. So the command could know about the timeout. (Just for
the unusual case where it could want to know and care about it.)

I'm aware that most commands run via timeout(1) will not make use
of this. On the other hand letting timeout(1) put the duration
into its client process' environment shouldn't hurt either.

Thomas


Reply via email to