VirtualBox

Changeset 35747 in vbox for trunk/src


Ignore:
Timestamp:
Jan 27, 2011 8:29:22 PM (14 years ago)
Author:
vboxsync
Message:

VBoxManage/GuestCtrl: Fix for process completion w/o waiting for output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp

    r35707 r35747  
    538538                    }
    539539
    540                     /* No more output data left? Then wait a little while ... */
     540                    /* No more output data left? */
    541541                    if (cbOutputData <= 0)
     542                    {
     543                        /* Only break out from process handling loop if we processed (displayed)
     544                         * all output data or if there simply never was output data and the process
     545                         * has been marked as complete. */
     546                        if (fCompleted)
     547                            break;
     548
     549                        /* Then wait a little while ... */
    542550                        progress->WaitForCompletion(1 /* ms */);
     551                    }
    543552
    544553                    /* Process async cancelation */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette