Changeset 06b0211b in mainline for tools/ew.py
- Timestamp:
- 2013-04-29T11:29:45Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aa2b32c
- Parents:
- ba4799a (diff), df956b9b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
rba4799a r06b0211b 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.