Changeset 29581 in vbox
- Timestamp:
- May 17, 2010 7:35:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r29555 r29581 315 315 316 316 /* Execute the process. */ 317 CHECK_ERROR_BREAK(guest, ExecuteProcess(Bstr(Utf8Cmd), uFlags, 318 ComSafeArrayAsInParam(args), ComSafeArrayAsInParam(env), 319 Bstr(Utf8UserName), Bstr(Utf8Password), u32TimeoutMS, 320 &uPID, progress.asOutParam())); 321 if (fVerbose) RTPrintf("Process '%s' (PID: %u) started\n", Utf8Cmd.raw(), uPID); 317 rc = guest->ExecuteProcess(Bstr(Utf8Cmd), uFlags, 318 ComSafeArrayAsInParam(args), ComSafeArrayAsInParam(env), 319 Bstr(Utf8UserName), Bstr(Utf8Password), u32TimeoutMS, 320 &uPID, progress.asOutParam()); 321 if (FAILED(rc)) 322 { 323 ErrorInfo info(guest); 324 if (info.isFullAvailable()) 325 RTPrintf("ERROR: %ls (%Rhrc).\n", info.getText().raw(), info.getResultCode()); 326 break; 327 } 328 if (fVerbose) 329 RTPrintf("Process '%s' (PID: %u) started\n", Utf8Cmd.raw(), uPID); 322 330 if (fWaitForExit) 323 331 {
Note:
See TracChangeset
for help on using the changeset viewer.