VirtualBox

Changeset 79257 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 20, 2019 3:08:22 PM (6 years ago)
Author:
vboxsync
Message:

VBoxManageGuestCtrl.cpp: Must stop waiting for the 'Start' event once it has been received. r131419 corrected the special workaround in main that previously made it 'work'. bugref:9320

File:
1 edited

Legend:

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

    r78739 r79257  
    14981498                                                         RT_MIN(500 /*ms*/, RT_MAX(cMsTimeLeft, 1 /*ms*/)),
    14991499                                                         &waitResult));
     1500                if (pCtx->cVerbose)
     1501                    RTPrintf("waitResult: %d\n", waitResult);
    15001502                switch (waitResult)
    15011503                {
    1502                     case ProcessWaitResult_Start:
     1504                    case ProcessWaitResult_Start: /** @todo you always wait for 'start', */
    15031505                        fCompletedStartCmd = fCompleted = !fRunCmd; /* Only wait for startup if the 'start' command. */
     1506                        if (!fCompleted && aWaitFlags[0] == ProcessWaitForFlag_Start)
     1507                            aWaitFlags[0] = ProcessWaitForFlag_Terminate;
    15041508                        break;
    15051509                    case ProcessWaitResult_StdOut:
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