[tuxdroid-svn] r5288 - software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugi
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-08-06 14:20:16
|
Author: remi
Date: 2009-08-06 16:19:51 +0200 (Thu, 06 Aug 2009)
New Revision: 5288
Modified:
software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/interpreters/PluginInterpreter.py
Log:
* Avoid zombie child process (plugins) on Linux. Thx to Paul.
Modified: software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/interpreters/PluginInterpreter.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/interpreters/PluginInterpreter.py 2009-08-06 10:33:41 UTC (rev 5287)
+++ software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/interpreters/PluginInterpreter.py 2009-08-06 14:19:51 UTC (rev 5288)
@@ -312,3 +312,9 @@
self.__process.stdout.close()
except:
pass
+ if os.name != 'nt':
+ try:
+ # Avoid zombies child process on Linux
+ os.wait()
+ except:
+ pass
|