Changeset 17527


Ignore:
Timestamp:
2008-10-13T21:47:49+13:00 (16 years ago)
Author:
ak19
Message:

Now calls new subroutine setIsGLI on the download_obj to indicate whether or not the download is run from within GLI (or from a command prompt). This is necessary since Downloads using Wget that are launched via GLI require sockets to enable premature termination of wget, whereas when downloads are run by executing downloadfrom.pl from the cmd line, the WgetDownload.pm's signal handler for Ctrl-C (SIGINT) is called instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/download.pm

    r16794 r17527  
    7676    #                   $options->{'gli_call'}
    7777    #                   $options->{'info'}
     78    $download_obj->setIsGLI($options->{'gli'});
     79
    7880    ($download_obj->download($options) == 1)?
    7981    return "true":
Note: See TracChangeset for help on using the changeset viewer.