Ignore:
Timestamp:
2017-04-06T19:15:55+12:00 (7 years ago)
Author:
ak19
Message:

In place of the Input- and OutputStreamGobbler classes, am now shifting GLI code to use SafeProcess too, copied across from GS3 src code. Class SafeProcess includes the two streamgobblers as static inner classes and some more functionality with safely running an external process from Java.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/gui/DownloadPane.java

    r29974 r31582  
    5252import org.greenstone.gatherer.file.WorkspaceTree;
    5353import org.greenstone.gatherer.greenstone.LocalGreenstone;
     54import org.greenstone.gatherer.util.SafeProcess;
    5455import org.greenstone.gatherer.util.StaticStrings;
    5556import org.greenstone.gatherer.util.Utility;
     
    281282    }
    282283    finally {
    283         Utility.closeProcess(process);
     284        SafeProcess.closeProcess(process);
    284285    }
    285286
Note: See TracChangeset for help on using the changeset viewer.