bug-bash
[Top][All Lists]
Advanced

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

Re: Strange behavior with job control


From: Christoph Dittmann
Subject: Re: Strange behavior with job control
Date: Tue, 27 Jul 2010 14:27:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

On 07/27/2010 02:05 PM, Eric Blake wrote:
> On 07/27/2010 05:44 AM, Christoph Dittmann wrote:
>> What I was going for was a script which executes another command with a
>> timeout.
> 
> If you can assume the presence of GNU coreutils, use timeout(1).  Much
> nicer for this particular task.

Thanks, I'll look into this.

OK, it looks like timeout(1) is in coreutils starting with version
7.5-1, and unfortunately Ubuntu 10.04 only offers coreutils-7.4-2 with
timeout in a separate package.

According to the manpage, timeout does precisely what I need. I'll
definitely remember that program, thanks. It's probably a cleaner way
than implementing a bash script to do the same task manually.

Christoph



reply via email to

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