Hi,
Does anybody knows how to invoke a perl script from
java code?
If my java file and perl script is in same folder then calling perl like:
Runtime rt = Runtime.getRuntime();
Process p = rt.exec("perl test1.pl");
is working fine but placing perl in different directory not working
like:
Runtime rt = Runtime.getRuntime();
Process p = rt.exec("perl /abc/efg/test1.pl");
it is not giving any error or exception.
Any solution?