Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sanjeev askjeev
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i invoke a perl file using exec() in java
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic