For bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput...
authorZac Medico <zmedico@gentoo.org>
Fri, 8 Jun 2007 23:11:10 +0000 (23:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 8 Jun 2007 23:11:10 +0000 (23:11 -0000)
svn path=/main/branches/2.1.2/; revision=6769

pym/output.py

index 3146741355867022585bf247e578d197d5268d96..2327c91aaa88349237b6e30c1212fb042ea55577 100644 (file)
@@ -194,7 +194,8 @@ def xtermTitleReset():
                if prompt_command == "":
                        default_xterm_title = ""
                elif prompt_command is not None:
-                       default_xterm_title = commands.getoutput(prompt_command)
+                       os.system(prompt_command)
+                       return
                else:
                        pwd = os.getenv('PWD','')
                        home = os.getenv('HOME', '')