From 235bf5023359763690614ae631448db0b36c594c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Jun 2007 23:10:46 +0000 Subject: [PATCH] For bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput() since the latter puts too much restriction on what $PROMPT_COMMAND may contain. svn path=/main/trunk/; revision=6768 --- pym/portage/output.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/output.py b/pym/portage/output.py index b4877b30d..cd140f016 100644 --- a/pym/portage/output.py +++ b/pym/portage/output.py @@ -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', '') -- 2.26.2