Changeset 38618 in vbox for trunk/src/VBox/Main
- Timestamp:
- Sep 3, 2011 7:36:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r38609 r38618 96 96 # define HOSTSUFF_EXE "" 97 97 #endif /* !RT_OS_WINDOWS */ 98 99 #if defined(RT_OS_WINDOWS)100 # define VBOXHEADLESS_NAME "VBoxHeadlessSVC"101 #else102 # define VBOXHEADLESS_NAME "VBoxHeadless"103 #endif104 98 105 99 // defines / prototypes … … 6624 6618 * differently in 4.0 and 3.x. 6625 6619 */ 6626 const char VBoxHeadless_exe[] = VBOXHEADLESS_NAMEHOSTSUFF_EXE;6620 const char VBoxHeadless_exe[] = "VBoxHeadless" HOSTSUFF_EXE; 6627 6621 Assert(sz >= sizeof(VBoxHeadless_exe)); 6628 6622 strcpy(cmd, VBoxHeadless_exe); … … 6640 6634 args[pos] = "--capture"; 6641 6635 } 6642 vrc = RTProcCreate(szPath, args, env, 0, &pid); 6636 vrc = RTProcCreate(szPath, args, env, 6637 #ifdef RT_OS_WINDOWS 6638 RTPROC_FLAGS_NO_WINDOW 6639 #else 6640 0 6641 #endif 6642 , &pid); 6643 6643 } 6644 6644 #else /* !VBOX_WITH_HEADLESS */
Note:
See TracChangeset
for help on using the changeset viewer.