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


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to