File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How do i invoke a perl file using exec() in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How do i invoke a perl file using exec() in java" Watch "How do i invoke a perl file using exec() in java" New topic
Author

How do i invoke a perl file using exec() in java

sanjeev askjeev
Greenhorn

Joined: Oct 12, 2005
Posts: 5
How do i invoke a perl file using exec() in java
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
When you "invoke a Perl file" you exec the perl.exe interpreter with the command line parameters pointing to the perl script etc etc.
Be sure that you consume the resulting stdout and stderr output streams.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i invoke a perl file using exec() in java