Help for this page

Select Code to Download


  1. or download this
    ($result, $exitcode) = run_w_progress(1, 'for i in `seq -w 4`; do slee
    +p 3; /bin/echo $i; done');
    
  2. or download this
    Result:
    1
    ...
    
    Exitcode:0
    finishing ...
    
  3. or download this
    ($result, $exitcode) = run_w_progress(1, '/bin/echo -e "foo\nbar"');
    
  4. or download this
    Result:
    foo
    
    Exitcode:0
    finishing ...
    
  5. or download this
    #!/usr/bin/perl                                  
     
    ...
    
    print "finishing ...\n";