VirtualBox

Ignore:
Timestamp:
Apr 27, 2010 7:42:23 AM (15 years ago)
Author:
vboxsync
Message:

Guest Control/VBoxManage: Show process status in every case.

File:
1 edited

Legend:

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

    r28780 r28796  
    336336                        RTPrintf("\n");
    337337                    }
    338                     else
    339                     {   
    340                         ULONG uStatus, uExitCode, uFlags;
    341                         CHECK_ERROR_BREAK(guest, GetProcessStatus(uPID, &uExitCode, &uFlags, &uStatus));
    342                         if (verbose)
    343                             RTPrintf("Process completed. Exit code = %u (Status = %u, Flags = %u)\n",
    344                                      uExitCode, uStatus, uFlags);
    345                     }
     338
     339                    ULONG uStatus, uExitCode, uFlags;
     340                    CHECK_ERROR_BREAK(guest, GetProcessStatus(uPID, &uExitCode, &uFlags, &uStatus));
     341                    if (verbose)
     342                        RTPrintf("Exit code=%u (Status=%u, Flags=%u)\n", uExitCode, uStatus, uFlags);
    346343
    347344                    /* Print output if wanted. */
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