Help for this page

Select Code to Download


  1. or download this
    system('/bin/ksh', '-c', '. /env.ksh ; shellFunction');
    
  2. or download this
    my $pid = open my $shell, "| /bin/ksh" or die "Couldn't start ksh: $!"
    +;
    print $shell ". /env.ksh\n";
    ...
    # later
    print $shell "shellFunction2\n";
    # ...