I need to execute a jar
file from inside of some C++ code.
i tried this following command
int ret = execlp("java", "java", "-jar", "myprog.jar", (char *)0);
it's working fine.but my problem is my c++ main thread was stopped after executing my jar file.i don't want to stop my c++ main thread after excecuting jar file.how can i do this.
Regards