You can find out exactly when the child exits but this is not what you specified which was exec something X seconds after Y event occurs. Forking a kid will do that for you and is quite portable. Why do you need to know when the child finishes? Not in spec. Kid will do its stuff X seconds after Y event. Why monitor it? What would you do if the child failed? If nothing redo Does it really matter? If no redo. What is failure? etc.....
|Replies are listed 'Best First'.|
Re: Re: Re: Re: 'better mousetrap': how to perform timed event
by snafu (Chaplain) on Apr 25, 2003 at 23:28 UTC
by tachyon (Chancellor) on Apr 26, 2003 at 12:29 UTC