Changeset 28557 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Apr 21, 2010 11:18:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r28464 r28557 63 63 { 64 64 RTPrintf("VBoxManage guestcontrol execute <vmname>|<uuid>\n" 65 " <path to program> [--arguments \"<arguments>\"] [--environment \" NAME=VALUE NAME=VALUE\"]\n"65 " <path to program> [--arguments \"<arguments>\"] [--environment \"<NAME=VALUE NAME=VALUE>\"]\n" 66 66 " [--flags <flags>] [--timeout <msec>] [--username <name> [--password <password>]]\n" 67 67 " [--verbose] [--wait-for exit]\n" … … 187 187 waitForExit = true; 188 188 else if (!strcmp(a->argv[i + 1], "stdout")) 189 { 190 waitForExit = true; 189 191 waitForStdOut = true; 192 } 190 193 else if (!strcmp(a->argv[i + 1], "stderr")) 194 { 195 waitForExit = true; 191 196 waitForStdErr = true; 197 } 192 198 else 193 199 usageOK = false; … … 324 330 SafeArray<BYTE> aOutputData; 325 331 ULONG cbOutputData; 326 CHECK_ERROR_BREAK(guest, GetProcessOutput(uPID, 0 /* aFlags */, _512K, ComSafeArrayAsOutParam(aOutputData))); 332 CHECK_ERROR_BREAK(guest, GetProcessOutput(uPID, 0 /* aFlags */, 333 uTimeoutMS, _64K, ComSafeArrayAsOutParam(aOutputData))); 327 334 cbOutputData = aOutputData.size(); 328 335 if (cbOutputData == 0)
Note:
See TracChangeset
for help on using the changeset viewer.