VirtualBox

Changeset 28728 in vbox


Ignore:
Timestamp:
Apr 26, 2010 7:39:12 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60602
Message:

Guest Control/Main: Even return the PID if process is no more (for later output retrieval).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/GuestImpl.cpp

    r28707 r28728  
    833833                    {
    834834                        case PROC_STS_STARTED:
     835                            /* Process is (still) running; get PID. */
    835836                            *aPID = pData->u32PID;
    836837                            break;
     
    844845                        case PROC_STS_TOA:
    845846                        case PROC_STS_DWN:
    846                             *aPID = 0;
     847                            /*
     848                             * Process (already) ended, but we want to get the
     849                             * PID anyway to retrieve the output in a later call.
     850                             */
     851                            *aPID = pData->u32PID;
    847852                            break;
    848853
Note: See TracChangeset for help on using the changeset viewer.

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