Changeset 99120 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Mar 22, 2023 5:30:14 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156485
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r98665 r99120 1170 1170 { 1171 1171 GCTLCMD_COMMON_OPTION_DEFS() 1172 { "--cwd", 'C', RTGETOPT_REQ_STRING }, 1172 1173 { "--putenv", 'E', RTGETOPT_REQ_STRING }, 1173 1174 { "--exe", 'e', RTGETOPT_REQ_STRING }, … … 1200 1201 com::SafeArray<IN_BSTR> aEnv; 1201 1202 const char * pszImage = NULL; 1203 const char * pszCwd = NULL; 1202 1204 bool fWaitForStdOut = fRunCmd; 1203 1205 bool fWaitForStdErr = fRunCmd; … … 1239 1241 case kGstCtrlRunOpt_Profile: 1240 1242 aCreateFlags.push_back(ProcessCreateFlag_Profile); 1243 break; 1244 1245 case 'C': 1246 pszCwd = ValueUnion.psz; 1241 1247 break; 1242 1248 … … 1358 1364 ComPtr<IGuestProcess> pProcess; 1359 1365 CHECK_ERROR_BREAK(pCtx->pGuestSession, ProcessCreate(Bstr(pszImage).raw(), 1366 Bstr(pszCwd).raw(), 1360 1367 ComSafeArrayAsInParam(aArgs), 1361 1368 ComSafeArrayAsInParam(aEnv),
Note:
See TracChangeset
for help on using the changeset viewer.