| H A D | terminal.py | 32 def __init__(self, sh_cmd, title=None, env=None, d=None): argument 34 fmt_sh_cmd = self.format_command(sh_cmd, title) 44 def format_command(self, sh_cmd, title): argument 45 fmt = {'title': title or 'Terminal', 'command': sh_cmd, 'cwd': os.getcwd() } 52 def __init__(self, sh_cmd, title=None, env=None, d=None): argument 53 Terminal.__init__(self, sh_cmd, title, env, d) 58 command = 'gnome-terminal -t "{title}" -- {command}' 61 def __init__(self, sh_cmd, title=None, env=None, d=None): argument 68 XTerminal.__init__(self, sh_cmd, title, env, d) 71 command = 'mate-terminal --disable-factory -t "{title}" -x {command}' [all …]
|