Ignore:
Timestamp:
2017-04-20T21:32:08+12:00 (7 years ago)
Author:
ak19
Message:

Porting recent changes from GS3 SafeProcess to GLI SafeProcess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/util/SafeProcess.java

    r31616 r31620  
    100100       
    101101        // http://stackoverflow.com/questions/5283444/convert-array-of-strings-into-a-string-in-java
    102         ///System.err.println("SafeProcess running: " + Arrays.toString(command_args));
    103102        logger.info("SafeProcess running: " + Arrays.toString(command_args));
     103        //System.err.println("SafeProcess running: " + Arrays.toString(command_args));
    104104       
    105105        if(this.envp == null) {
     
    141141
    142142            ///logger.info("Process exitValue: " + exitValue);
     143        ///System.err.println("Process exitValue: " + exitValue);
    143144
    144145        // From the comments of
     
    492493        if(this.isInterrupted()) { // should we not instead check if SafeProcess thread was interrupted?
    493494            logger.info("Got interrupted when reading lines from process err/out stream.");
     495            //System.err.println("InputStreamGobbler.runDefault() Got interrupted when reading lines from process err/out stream.");
    494496            break; // will go to finally block
    495497        }
Note: See TracChangeset for help on using the changeset viewer.