- Timestamp:
- Dec 2, 2008 4:42:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp
r14912 r14920 425 425 int main (int argc, char **argv, char **envp) 426 426 { 427 #if (defined(VBOX_GUI_WITH_SYSTRAY)&& (defined(RT_OS_DARWIN) || defined(RT_OS_LINUX) || defined (RT_OS_SOLARIS) || defined(RT_OS_FREEBSD))) 428 rc = RTProcDaemonize(false /* fNoChDir */, false /* fNoClose */, 429 NULL); 430 if (RT_FAILURE(rc)) 431 { 432 RTStrmPrintf(g_pStdErr, "VirtualBox: Failed to daemonize, rc=%Rrc. Exiting.\n", rc); 433 exit(1); 434 } 435 #endif 436 427 437 /* Initialize VBox Runtime. Initialize the SUPLib as well only if we 428 438 * are really about to start a VM. Don't do this if we are only starting
Note:
See TracChangeset
for help on using the changeset viewer.