Changeset 18785 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 6, 2009 4:01:39 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r18621 r18785 3826 3826 Utf8Str idStr = mData->mUuid.toString(); 3827 3827 # ifdef RT_OS_WINDOWS /** @todo drop this once the RTProcCreate bug has been fixed */ 3828 const char * args[] = {path, "- startvm", idStr, 0 };3828 const char * args[] = {path, "--startvm", idStr, 0 }; 3829 3829 # else 3830 3830 Utf8Str name = mUserData->mName; 3831 const char * args[] = {path, "- comment", name, "-startvm", idStr, 0 };3831 const char * args[] = {path, "--comment", name, "--startvm", idStr, 0 }; 3832 3832 # endif 3833 3833 vrc = RTProcCreate (path, args, env, 0, &pid); … … 3840 3840 else 3841 3841 3842 #ifdef VBOX_WITH_VBOXSDL 3843 if (type == "sdl" || type == "GUI/SDL") 3844 { 3845 const char VBoxSDL_exe[] = "VBoxSDL" HOSTSUFF_EXE; 3846 Assert (sz >= sizeof (VBoxSDL_exe)); 3847 strcpy (cmd, VBoxSDL_exe); 3848 3849 Utf8Str idStr = mData->mUuid.toString(); 3850 # ifdef RT_OS_WINDOWS 3851 const char * args[] = {path, "--startvm", idStr, 0 }; 3852 # else 3853 Utf8Str name = mUserData->mName; 3854 const char * args[] = {path, "--comment", name, "--startvm", idStr, 0 }; 3855 # endif 3856 vrc = RTProcCreate (path, args, env, 0, &pid); 3857 } 3858 #else /* !VBOX_WITH_VBOXSDL */ 3859 if (0) 3860 ; 3861 #endif /* !VBOX_WITH_VBOXSDL */ 3862 3863 else 3864 3842 3865 #ifdef VBOX_WITH_VRDP 3843 3866 if (type == "vrdp") … … 3849 3872 Utf8Str idStr = mData->mUuid.toString(); 3850 3873 # ifdef RT_OS_WINDOWS 3851 const char * args[] = {path, "- startvm", idStr, 0 };3874 const char * args[] = {path, "--startvm", idStr, 0 }; 3852 3875 # else 3853 3876 Utf8Str name = mUserData->mName; 3854 const char * args[] = {path, "- comment", name, "-startvm", idStr, 0 };3877 const char * args[] = {path, "--comment", name, "--startvm", idStr, 0 }; 3855 3878 # endif 3856 3879 vrc = RTProcCreate (path, args, env, 0, &pid); … … 3872 3895 Utf8Str idStr = mData->mUuid.toString(); 3873 3896 # ifdef RT_OS_WINDOWS 3874 const char * args[] = {path, "- startvm", idStr, "-capture", 0 };3897 const char * args[] = {path, "--startvm", idStr, "--capture", 0 }; 3875 3898 # else 3876 3899 Utf8Str name = mUserData->mName; 3877 const char * args[] = {path, "- comment", name, "-startvm", idStr, "-capture", 0 };3900 const char * args[] = {path, "--comment", name, "--startvm", idStr, "--capture", 0 }; 3878 3901 # endif 3879 3902 vrc = RTProcCreate (path, args, env, 0, &pid); -
trunk/src/VBox/Main/Makefile.kmk
r18749 r18785 196 196 VBOX_MAIN_SETTINGS_ADDONS \ 197 197 $(VBOX_MAIN_DEFS) \ 198 $(if $(VBOX_WITH_VBOXSDL),VBOX_WITH_VBOXSDL,) \ 198 199 $(if $(VBOX_WITH_VRDP),VBOX_WITH_VRDP,) \ 199 200 $(if $(VBOX_WITH_HEADLESS),VBOX_WITH_HEADLESS,) \
Note:
See TracChangeset
for help on using the changeset viewer.