Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is there a way to make child process survive even if parent is killed

807580Jul 20 2010 — edited Jul 21 2010
Hi,

I am using Runtime.getRuntime.exec("<<a non Java Linux application>>") in my code. If someone kills java by killall -9 then my non java application is also killed.

Is there a way to make the non java application survive even if the the parent java application which has launched it has been killed?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 18 2010
Added on Jul 20 2010
15 comments
641 views