Author: remi
Date: 2009-06-14 21:17:53 +0200 (Sun, 14 Jun 2009)
New Revision: 4810

Modified:
   
software_suite_v3/smart-core/smart-server/trunk/util/player/mplayer/Mplayer.py
Log:
* force to kill mplayer instances on Windows

Modified: 
software_suite_v3/smart-core/smart-server/trunk/util/player/mplayer/Mplayer.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/util/player/mplayer/Mplayer.py  
    2009-06-14 18:08:47 UTC (rev 4809)
+++ 
software_suite_v3/smart-core/smart-server/trunk/util/player/mplayer/Mplayer.py  
    2009-06-14 19:17:53 UTC (rev 4810)
@@ -68,6 +68,7 @@
                     win32api.TerminateProcess(int(self.__process._handle), -1)
                 except:
                     pass
+                os.system("taskkill /im mplayer.exe /f")
             else:
                 os.system("kill -9 " + str(self.__process.pid))
         self.__setRun(False)


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to