VirtualBox

Changeset 47490 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 31, 2013 1:16:33 PM (11 years ago)
Author:
vboxsync
Message:

VBoxService/VBoxServiceControlProcess: Also report process termination status when started as detached.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp

    r47481 r47490  
    948948                           pProcess->uPID, pProcess->uClientID, pProcess->uContextID, uStatus, uFlags);
    949949
    950         if (!(pProcess->StartupInfo.uFlags & EXECUTEPROCESSFLAG_WAIT_START))
    951         {
    952950            VBGLR3GUESTCTRLCMDCTX ctxEnd = { pProcess->uClientID, pProcess->uContextID };
    953951            rc2 = VbglR3GuestCtrlProcCbStatus(&ctxEnd,
    954952                                              pProcess->uPID, uStatus, uFlags,
    955953                                              NULL /* pvData */, 0 /* cbData */);
    956             if (RT_FAILURE(rc2))
     954            if (   RT_FAILURE(rc2)
     955                && rc2 == VERR_NOT_FOUND)
    957956                VBoxServiceError("[PID %RU32]: Error reporting final status to host; rc=%Rrc\n",
    958957                                 pProcess->uPID, rc2);
    959         }
    960         else
    961             VBoxServiceVerbose(3, "[PID %RU32]: Was started detached, no final status sent to host\n",
    962                                pProcess->uPID);
    963958    }
    964959
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