- Timestamp:
- 2017-08-07T19:09:21+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/downloaders/WgetDownload.pm
r31851 r31856 263 263 # closing an extra unused handle, a single handle is used instead for both the child's 264 264 # stderr and stdout. 265 # See http://blog.0x1fff.com/2009/09/howto-execute-system-commands-in-perl.html 266 # for why this is the right thing to do. 265 267 266 268 # Both open2 and open3 don't return on failure, but raise an exception. The handling … … 284 286 } 285 287 $strReadIn .= $strLine; 286 } 288 } 287 289 else { # wget finished, terminate naturally 288 290 #print STDOUT "\nPerl: open2 command, input stream closed. Wget terminated naturally.\n";
Note:
See TracChangeset
for help on using the changeset viewer.