Author: duncan
Date: Thu Dec 28 18:18:01 2006
New Revision: 8853

Modified:
   branches/rel-1/freevo/freevo

Log:
CHanges didn't work, so trying one kill and then the next


Modified: branches/rel-1/freevo/freevo
==============================================================================
--- branches/rel-1/freevo/freevo        (original)
+++ branches/rel-1/freevo/freevo        Thu Dec 28 18:18:01 2006
@@ -185,21 +185,12 @@
         try:
             os.unlink(fname)
         except OSError, e:
-            print 'os.unlink(fname=%s)=%s' % (fname, e)
+            pass
         os.kill(pid, SIGINT)
+        os.kill(pid, SIGTERM)
         return 1
     except OSError, e:
-        print 'os.kill(pid=%s, SIGINT)=%s' % (pid, e)
-        try:
-            os.kill(pid, SIGTERM)
-            return 1
-        except OSError, e:
-            print 'os.kill(pid=%s, SIGTERM)=%s' % (pid, e)
-            try:
-                os.kill(pid, SIGKILL)
-                return 1
-            except OSError, e:
-                print 'os.kill(pid=%s, SIGKILL)=%s' % (pid, e)
+        print e
     return 0
 
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to