Difference between java 4 and java 5, 'java' spawns additional process id?
Hi,
I use a shell script to start java from another program, e.g:
#!/bin/csh
exec java -jar MyJar
This will startup my java app. However; in java 4 it uses the same process id as the shell, meaning I can also end the process via that ID.
In java 5 the exec keyword does no longer seem to work as the java process now gets a new, higher process ID so killing my 'startup' ID results in a killed shell, but the java continues :-(
Anyone can confirm this feature and or has a solution?
Kind Regards
Marc