tags:

views:

90

answers:

2

Hello,

I would like to start a subprocess from a JVM but I want this JVM to stop before the child process.

I tried it with the JRockit on Windows XP but it seems the JVM waits for the child process termination before ending itself.

Is there a way to start a child process which becomes independant of the parent process, i.e. which ends after the parent process ends ?

Thank you.

+1  A: 

see this post

akf
+1  A: 

http://stackoverflow.com/questions/295736/spawn-a-process-in-java-that-survives-a-jvm-shutdown

Standard Sun JVM doesn't wait for child processes to finish

Yoni Roit