On 02/25/2014 04:10 PM, Thomas Sattler wrote: > Hi there ... > > 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? Generally we try to avoid having the environment as another configuration vector, especially when restricted to a single command where it would provide little benefit. Consider: DURATION=10m timeout $DURATION command1 timeout $DURATION command2 ... thanks, Pádraig.
