Changeset 17527

Show
Ignore:
Timestamp:
13.10.2008 21:47:49 (11 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.

Files:
1 modified

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":