About starting a separate new process in java application

L

lightning

how to start up some servers or other applications separately by using
Runtime.exec or something else ?
Just like the shell can do,is java app has this capability to achieve
my goal without jni?
It seems that java takes the total control the whole life of the
process it starts,how can we cut the umbilical cord gracefully?
 
R

rxreyn3

Is this app running inside of a J2EE container or stadalone? Are you
trying to daemonize something. Meaning, if the original thread exits,
this new thread continues?

Ryan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,798
Messages
2,569,651
Members
45,384
Latest member
GOLDY

Latest Threads

Top