Ignore:
Timestamp:
2017-05-30T21:23:20+12:00 (7 years ago)
Author:
ak19
Message:

Comments adjusted

File:
1 edited

Legend:

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

    r31712 r31716  
    445445        // 2. basic waitFor the process to finish
    446446        this.exitValue = process.waitFor();
    447 
     447       
     448        // 3. if we managed to get here, the process naturally terminated (wasn't interrupted):
    448449        this.forciblyTerminateProcess = false;
    449450    } catch(IOException ioe) {     
     
    790791// Kill signals, their names and numerical equivalents: http://www.faqs.org/qa/qa-831.html
    791792// https://stackoverflow.com/questions/8533377/why-child-process-still-alive-after-parent-process-was-killed-in-linux
    792 // Didn't work for when build scripts run from GLI: kill -TERM -pid
    793 // but the other suggestion did work: pkill -TERM -P pid did work
     793// Works on Linux but not Mac when build scripts run from GLI: kill -TERM -pid
     794// Works on Macs but not Linux: pkill -TERM -P pid
    794795// More reading:
    795796// https://superuser.com/questions/343031/sigterm-with-a-keyboard-shortcut
Note: See TracChangeset for help on using the changeset viewer.