|
Starting a Java application from c++ using execv
Hi
Can anyone help, I'm looking for a way of starting a java app (conisting of many jars) using the execv command.
I currently have a shell script to run it, which I can call using the system command from within the code.
I tried calling the .sh file from execv but that din't work and also the contents of it (java -cp ...list of jars direclty from my C++ code) in the execv and that didn't work
can anyone give a simple example or point me towards one
thanks
J
|