You can use folowing code snippet to launch a Unix script with Java.
String[] cmd = {"/bin/sh", "-c", "ls > hello"}; Runtime.getRuntime().exec(cmd);
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.