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