From: Zac Medico Date: Fri, 8 Jun 2007 23:10:46 +0000 (-0000) Subject: For bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput... X-Git-Tag: v2.2_pre1~1278 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=235bf5023359763690614ae631448db0b36c594c;p=portage.git 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 --- 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', '')