Changeset 28658 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 23, 2010 3:26:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r28654 r28658 754 754 print "executed with pid %d" %(pid) 755 755 if pid != 0: 756 while not progress.completed: 757 data = guest.getProcessOutput(pid, 0, 1, 4096) 758 if data and len(data) > 0: 759 sys.stdout.write(data) 760 progress.waitForCompletion(100) 761 ctx['global'].waitForEvents(0) 756 try: 757 while not progress.completed: 758 data = None #guest.getProcessOutput(pid, 0, 1, 4096) 759 if data and len(data) > 0: 760 sys.stdout.write(data) 761 progress.waitForCompletion(100) 762 ctx['global'].waitForEvents(0) 763 except KeyboardInterrupt: 764 print "Interrupted." 765 if progress.cancelable: 766 progress.cancel() 767 return 0 762 768 else: 763 769 reportError(ctx, progress)
Note:
See TracChangeset
for help on using the changeset viewer.