Changeset 28132 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Apr 9, 2010 10:02:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r28032 r28132 65 65 " <path to program> [--arguments \"<arguments>\"] [--environment \"NAME=VALUE NAME=VALUE\"]\n" 66 66 " [--flags <flags>] [--username <name> [--password <password>]]\n" 67 " [--timeout <msec>] \n"67 " [--timeout <msec>] [--wait stdout[,[stderr]]]\n" 68 68 "\n"); 69 69 } … … 91 91 Utf8Str Utf8Password; 92 92 uint32_t uTimeoutMS = 0; 93 bool waitForOutput = false; 93 94 94 95 /* Iterate through all possible commands (if available). */ … … 175 176 else 176 177 ++i; 178 } 179 else if (!strcmp(a->argv[i], "--wait")) 180 { 181 if (i + 1 >= a->argc) 182 usageOK = false; 183 else 184 { 185 /** @todo Check for "stdout" or "stderr"! */ 186 waitForOutput = true; 187 ++i; 188 } 177 189 } 178 190 /** @todo Add fancy piping stuff here. */ … … 231 243 Bstr(Utf8UserName), Bstr(Utf8Password), uTimeoutMS, 232 244 &uPID, progress.asOutParam())); 245 if (waitForOutput) 246 { 247 248 } 233 249 /** @todo Show some progress here? */ 234 250 a->session->Close();
Note:
See TracChangeset
for help on using the changeset viewer.