I _HAD_ a great idea for this, but this solution is much more elgeant and straightforward than mine. :) (I was going to suggest opening a FIFO and using an EOF from it as a signal that your script completed.)
-Alex On Sun, 2002-02-17 at 04:11, Cameron Kerr wrote: > On Sun, 17 Feb 2002, ah. wrote: > > >I was wondering how to find out the pid of a (bash) script. > > Use the special parameter $$ for the PID, and $PPID for the parent process > ID > > man bash > > Cameron Kerr > -- > [EMAIL PROTECTED] > http://homepages.paradise.net.nz/~cameronk/ > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
signature.asc
Description: This is a digitally signed message part