[prev in list] [next in list] [prev in thread] [next in thread] 

List:       klik-devel
Subject:    [klik-devel] [klikclient commit] r1618 -
From:       codesite-noreply () google ! com
Date:       2008-07-13 19:20:29
Message-ID: 0016e64355e4013d260451ecab68 () google ! com
[Download RAW message or body]

Author: lionel.tricon
Date: Sun Jul 13 12:20:10 2008
New Revision: 1618

Modified:
   trunk/client/trunk/klikclient/lib/klik/compat/kde.py

Log:
cannot p.close() popen ?


Modified: trunk/client/trunk/klikclient/lib/klik/compat/kde.py
==============================================================================
--- trunk/client/trunk/klikclient/lib/klik/compat/kde.py	(original)
+++ trunk/client/trunk/klikclient/lib/klik/compat/kde.py	Sun Jul 13 
12:20:10 2008
@@ -16,9 +16,8 @@
 			# if starting a kde app make sure kdeinit is running first
 			if self.klik.xdg.get_desktop_enviroment != "KDE":

-				p = Popen(["pgrep", "kdeinit"], stdout=PIPE, stdin=PIPE, stderr=PIPE)
+				p = Popen(["/usr/bin/pgrep", "kdeinit"], stdout=PIPE, stdin=PIPE, stderr=PIPE)
 				p.wait()
 				if p.returncode != 0:
 					call(["kdeinit"])
-				p.close()
 		return
_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic