J
Jerome
Hi there,
I have written some Java code that executes an external shell script that
runs a server. However, I don't know how to kill the process in Java and
thus can't reconnect to the server.
I have:
....
Runtime rt1 = Runtime.getRuntime();
Process p1 = rt1.exec("XXX.sh");
....
Does anyone know how to kill a process?
Thanks in advance.
AL
I have written some Java code that executes an external shell script that
runs a server. However, I don't know how to kill the process in Java and
thus can't reconnect to the server.
I have:
....
Runtime rt1 = Runtime.getRuntime();
Process p1 = rt1.exec("XXX.sh");
....
Does anyone know how to kill a process?
Thanks in advance.
AL