Changeset 31719 for main/trunk/gli/src
- Timestamp:
- 2017-05-31T18:57:37+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/util/Readme_Using_SafeProcess.txt
r31718 r31719 801 801 - http://trac.greenstone.org/browser/main/tags/UsingSafeProcess 802 802 803 804 805 More changesets: 806 807 http://trac.greenstone.org/changeset/31711 to http://trac.greenstone.org/changeset/31718 808 809 These changesets involved: 810 811 - a README on SafeProcess? 812 813 - the remaining 2 instances of using Runtime.exec/Java Process in Gatherer have been ported to using SafeProcess?. These instances were of the inner classes Gatherer.ExternalApplication? and Gatherer.BrowserApplication?, both of which needed SafeProcess? to have the cancel functionality before they could be ported to use SafeProcess?. Tested the modified inner classes on Linux. 814 815 When tested on Mac, I found that with or without these new changes, GLI does not wait to exit if external applications are still running. On Linux (and the way GLI is coded), GLI's GUI may disappear, but the overall GLI process still waits for external processes launched via GLI to have exited before GLI exits. This doesn't happen on Mac with either the original or the modified code. Worth investigating. But at least the modified code has not broken something that used to work. 816 817 803 818 _________________________________________________________ 804 819 N. GLI vs GS3 CODE's SAFEPROCESS.JAVA - THE DIFFERENCES
Note:
See TracChangeset
for help on using the changeset viewer.