Help for this page

Select Code to Download


  1. or download this
    process = Runtime.getRuntime().exec("perl test.perl");
    
  2. or download this
    String [] perlCommand = {"perl","test.perl","1","2","3"};
    process = Runtime.getRuntime().exec(perlCommand);
    
  3. or download this
    #!/usr/local/bin/perl
    use strict;
    use warnings;
    use Data::Dumper;
    print Dumper @ARGV;