Help for this page

Select Code to Download


  1. or download this
    sub mysystem { 
      my ($cmd, $args) = @_;
      my $finalcmd = 'c:/cygwin/bin/'.$cmd.'.exe'.' '.$args;
    ...
      return system($finalcmd);
    }
    mysystem("ls", "-al data2.txt > abc")==0 or die "system command failed
    +";