Changeset 42920 in vbox
- Timestamp:
- Aug 22, 2012 1:12:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r42897 r42920 716 716 fSignal = TRUE; /* Signal in any case. */ 717 717 /* Do we need to report termination? */ 718 waitRes = (mData.mProcess.mFlags & ProcessCreateFlag_IgnoreOrphanedProcesses) 719 ? ProcessWaitResult_Status : ProcessWaitResult_Terminate; 718 if (mData.mProcess.mFlags & ProcessCreateFlag_IgnoreOrphanedProcesses) 719 waitRes = ProcessWaitResult_Status; 720 else 721 waitRes = ProcessWaitResult_Terminate; 720 722 721 723 mData.mStatus = ProcessStatus_Down; … … 865 867 if (fSignal) 866 868 { 867 int rc2 = signalWaiters( pData->u32HandleId == OUTPUT_HANDLE_ID_STDOUT 868 ? ProcessWaitResult_StdOut : ProcessWaitResult_StdErr); 869 int rc2; 870 if (pData->u32HandleId == OUTPUT_HANDLE_ID_STDOUT) 871 rc2 = signalWaiters(ProcessWaitResult_StdOut); 872 else 873 rc2 = signalWaiters(ProcessWaitResult_StdErr); 869 874 if (RT_SUCCESS(vrc)) 870 875 vrc = rc2;
Note:
See TracChangeset
for help on using the changeset viewer.