deskbar-applet r2089 - in trunk: . deskbar/handlers
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r2089 - in trunk: . deskbar/handlers
- Date: Tue, 8 Apr 2008 22:23:12 +0100 (BST)
Author: sebp
Date: Tue Apr 8 22:23:12 2008
New Revision: 2089
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2089&view=rev
Log:
When checking firefox version. Wait until the process terminated to avoid zombie processes.
Modified:
trunk/ChangeLog
trunk/deskbar/handlers/mozilla.py
Modified: trunk/deskbar/handlers/mozilla.py
==============================================================================
--- trunk/deskbar/handlers/mozilla.py (original)
+++ trunk/deskbar/handlers/mozilla.py Tue Apr 8 22:23:12 2008
@@ -70,6 +70,7 @@
def get_firefox_version():
browser = get_preferred_browser ()
process = subprocess.Popen(browser + " -version", stdout=subprocess.PIPE, shell=True)
+ process.wait()
info = process.stdout.readline().split(" ")
pattern = re.compile("([0-9]+?)\.([0-9]+?)(\.([0-9]+))*")
version = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]