Changeset e4a1497 in mainline
- Timestamp:
- 2013-03-09T14:59:42Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 05bab88, d8d7a0d
- Parents:
- 2277e03
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
r2277e03 re4a1497 39 39 def run_in_console(cmd, title): 40 40 cmdline = 'xterm -T ' + '"' + title + '"' + ' -e ' + cmd 41 print cmdline41 print(cmdline) 42 42 subprocess.call(cmdline, shell = True); 43 43 … … 81 81 def qemu_net_options(): 82 82 nic_options = qemu_nic_e1k_options() 83 return nic_options + ' -net user -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 '83 return nic_options + ' -net user -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -redir tcp:2223::2223' 84 84 85 85 def qemu_usb_options(): … … 114 114 run_in_console(cmdline, title) 115 115 else: 116 print cmdline116 print(cmdline) 117 117 subprocess.call(cmdline, shell = True) 118 118 … … 159 159 emu_run, console, image, networking, storage, usb = emulators[platform][mach] 160 160 except: 161 print "Cannot start emulation for the chosen configuration."161 print("Cannot start emulation for the chosen configuration.") 162 162 return 163 163
Note:
See TracChangeset
for help on using the changeset viewer.