Hi,
I need to call a perl script at a central location using
java with arguements..I have used the following code and it does nothing..Can someone tell me whats missing
final List<
String> commands = new ArrayList<String>();
commands.add("perl");
commands.add("I:/golden_scripts/make-tp-patch.pl");
commands.add(destpath+"/"+"scrfile.txt.org");
commands.add(pro_name);
commands.add(patch);
ProcessBuilder pb = new ProcessBuilder(commands);
Process p1 = pb.start();