Changes in tools/ew.py [e4c8e3cf:ae8d7b0] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ew.py

    re4c8e3cf rae8d7b0  
    5656                return emulators[platform][machine][processor]
    5757
    58 def termemu_detect():
    59         for termemu in ['xfce4-terminal', 'xterm']:
    60                 try:
    61                         subprocess.check_output('which ' + termemu, shell = True)
    62                         return termemu
    63                 except:
    64                         pass
    65 
    6658def run_in_console(cmd, title):
    67         cmdline = termemu_detect() + ' -T ' + '"' + title + '"' + ' -e \'' + cmd + '\''
     59        cmdline = 'xterm -T ' + '"' + title + '"' + ' -e ' + cmd
    6860        print(cmdline)
    6961        if not is_override('dryrun'):
    70                 subprocess.call(cmdline, shell = True)
     62                subprocess.call(cmdline, shell = True);
    7163
    7264def get_host_native_width():
Note: See TracChangeset for help on using the changeset viewer.