Subject: Re: shell question...
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: netbsd-help
Date: 01/31/2006 17:47:47
Chavdar Ivanov --> netbsd-help (2006-01-31 16:37:23 +0000):
> try
> 
> ( sleep 30 >/dev/null 2>&1 & ) >/dev/null 2>&1
> 
> but then you have to find the pid of the sleep process... $! is no good.

Unfortunately that's exactly why I can't do this: I need to be able to kill the sleep process before it returns.


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~