Changeset 17219


Ignore:
Timestamp:
2008-09-08T17:08:16+12:00 (16 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.

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.