Weird process behaviour with linux and Runtime.exec()
Hello gents,
I've got a question concerning the use of Runtime.exec() to launch a process on a linux system from a java web application.
The process is a stand alone java application that I launch using a shell script
In the shell script I have the following command line :
java -Xms256M -Xmx256M -cp $CLASSPATH $className start &
When the script is launched manually, I end up with one process and 11 children threads.
When the script is called by the main application, I end up with one process, one child process and 11 grandchildren ...
Anyway, the stand alone app works fine but I'm wondering about if there is anything wrong and curious about an explanation.
Any help or tip will be welcome.
Thanks.

