Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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: 13061
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