Changeset 29829 in vbox for trunk/src/VBox
- Timestamp:
- May 26, 2010 7:22:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExec.cpp
r29828 r29829 751 751 const char *pszPassword, PRTPROCESS phProcess) 752 752 { 753 int rc = VINF_SUCCESS; 754 #ifdef RT_OS_WINDOWS 753 755 /* Get the predefined path of sysprep.exe (depending on Windows OS). */ 754 int rc = VINF_SUCCESS;755 756 char szSysprepCmd[RTPATH_MAX] = "C:\\sysprep\\sysprep.exe"; 756 757 OSVERSIONINFOEX OSInfoEx; … … 780 781 else 781 782 { 783 #else 782 784 /* Do normal execution. */ 783 785 rc = RTProcCreateEx(pszExec, papszArgs, hEnv, fFlags, 784 786 phStdIn, phStdOut, phStdErr, pszAsUser, 785 787 pszPassword, phProcess); 786 } 788 #ifdef RT_OS_WINDOWS 789 } 790 #endif 787 791 return rc; 788 792 }
Note:
See TracChangeset
for help on using the changeset viewer.