Changeset 31716 for main/trunk/gli
- Timestamp:
- 2017-05-30T21:23:20+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/util/SafeProcess.java
r31712 r31716 444 444 // 2. basic waitFor the process to finish 445 445 this.exitValue = process.waitFor(); 446 446 447 // 3. if we managed to get here, the process naturally terminated (wasn't interrupted): 447 448 this.forciblyTerminateProcess = false; 448 449 } catch(IOException ioe) { … … 789 790 // Kill signals, their names and numerical equivalents: http://www.faqs.org/qa/qa-831.html 790 791 // https://stackoverflow.com/questions/8533377/why-child-process-still-alive-after-parent-process-was-killed-in-linux 791 // Didn't work forwhen build scripts run from GLI: kill -TERM -pid792 // but the other suggestion did work: pkill -TERM -P pid did work792 // Works on Linux but not Mac when build scripts run from GLI: kill -TERM -pid 793 // Works on Macs but not Linux: pkill -TERM -P pid 793 794 // More reading: 794 795 // https://superuser.com/questions/343031/sigterm-with-a-keyboard-shortcut
Note:
See TracChangeset
for help on using the changeset viewer.