Changeset 28799 in vbox for trunk/src/VBox/Frontends/VBoxShell
- Timestamp:
- Apr 27, 2010 8:10:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r28798 r28799 817 817 if pid != 0: 818 818 try: 819 while not progress.completed:820 data = None #guest.getProcessOutput(pid, 0, 1, 4096)819 while True: 820 data = guest.getProcessOutput(pid, 0, 1000, 4096) 821 821 if data and len(data) > 0: 822 822 sys.stdout.write(data) 823 continue 823 824 progress.waitForCompletion(100) 824 825 ctx['global'].waitForEvents(0) 826 if progress.completed: 827 break 828 825 829 except KeyboardInterrupt: 826 830 print "Interrupted."
Note:
See TracChangeset
for help on using the changeset viewer.