| Author |
Urgent: Calling perl from Java
|
Varun Khanna
Ranch Hand
Joined: May 30, 2002
Posts: 1400
|
|
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?
|
- Varun
|
 |
 |
|
|
subject: Urgent: Calling perl from Java
|
|
|