Help for this page

Select Code to Download


  1. or download this
     #child 
      print "This is child $$\n";
    ...
      open STDOUT, '> /pathlogs/mylog.log';
      my $command='sh /path/process.sh';  
      exec($command);
    
  2. or download this
     #child 
      print "This is child $$\n";
    ...
      open STDOUT, '> /pathlogs/mylog.log';
      my $script='/soft/perl-version/bin/perl /path/process.pl';  
      exec($script);