From 6de83fd4fba897414435165dc39bf40a40950bab Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Jun 2007 23:11:10 +0000 Subject: 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. (trunk r6768) svn path=/main/branches/2.1.2/; revision=6769 --- pym/output.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym/output.py') diff --git a/pym/output.py b/pym/output.py index 314674135..2327c91aa 100644 --- a/pym/output.py +++ b/pym/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', '') -- cgit v1.2.3-1-g7c22