Vote count:
0
I have code like this :
Runtime rt = Runtime.getRuntime();
rt.exec("C:\\test\\MyJavaApp\\winsw\\test.exe install"); // executed
rt.exec("C:\\test\\MyJavaApp\\winsw\\test.exe start"); // not executed
How to execute the second line command too?
asked 29 secs ago
Java exec command prompt more than one line of command
Aucun commentaire:
Enregistrer un commentaire