Ignore:
Timestamp:
2015-06-08T19:31:20+12:00 (9 years ago)
Author:
ak19
Message:

More dynamic processing of downloaders. GLI used to use a fixed set of downloaders, now downloadinfo.pl is first called with the listall flag to get all the downloaders that are non-abstract, then these are added to the interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/util/Utility.java

    r29299 r29972  
    584584    }
    585585    }
     586
     587    public static void closeProcess(Process prcs) {
     588    if( prcs != null ) {
     589        closeResource(prcs.getErrorStream());
     590        closeResource(prcs.getOutputStream());
     591        closeResource(prcs.getInputStream());
     592        prcs.destroy();
     593    }
     594    }
    586595}
Note: See TracChangeset for help on using the changeset viewer.