Changeset 17219

Show
Ignore:
Timestamp:
08.09.2008 17:08:16 (11 years ago)
Author:
ak19
Message:

Previously the yaz-client cmd-line program would not quit (still active according to Task Manager) because it wasn't sent the quit command. Now, after sending the quit cmd, it's no longer hovering in the background according to Task Manager.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/downloaders/SRWDownload.pm

    r17207 r17219  
    121121    print STDERR "Closing connection...\n"; 
    122122    print STDERR "<<Finished>>\n"; 
     123 
     124    # need to send the quit command, else yaz-client is still running in the background 
     125    $self->run_command_without_output("quit"); 
    123126    close(YAZOUT); 
    124127    close(YAZIN); 
    125    return 1; 
     128    return 1; 
    126129} 
    127130