On Wed, Nov 21, 2001 at 01:50:36AM -0600, Adam Heath wrote: [...] > cd bin > ./run.sh 1>stdout.log 2>stderr.log & > echo $! > pid > # do something here > kill `cat pid` > > The above is fairly standard shell programming.
Indeed, it is. For some reason, it doesn't work for me, though: It kills run.sh itself, but leaves all the java processes running. This happens under JBoss 2.4.1 running under Linux 2.4.14.
msg12442/pgp00000.pgp
Description: PGP signature