Changeset 15024 in vbox
- Timestamp:
- Dec 5, 2008 9:20:48 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 40399
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp
r15023 r15024 1454 1454 Assert (sz >= sizeof (VirtualBox_exe)); 1455 1455 strcpy (cmd, VirtualBox_exe); 1456 # ifdef RT_OS_WINDOWS /** @todo drop this once the RTProcCreate bug has been fixed */1457 1456 const char * args[] = {path, 0 }; 1457 # ifdef RT_OS_WINDOWS 1458 rc = RTProcCreate (path, args, env, 0, &pid); 1458 1459 # else 1459 const char * args[] = {path, 0 };1460 rc = RTProcCreate (path, args, env, RTPROC_FLAGS_DAEMONIZE, &pid); 1460 1461 # endif 1461 rc = RTProcCreate (path, args, env, RTPROC_FLAGS_DAEMONIZE, &pid);1462 1462 if (RT_FAILURE (rc)) 1463 1463 LogRel(("Systray: Failed to start new selector window! Path=%s, rc=%Rrc\n", path, rc)); … … 1505 1505 Assert (sz >= sizeof (VirtualBox_exe)); 1506 1506 strcpy (cmd, VirtualBox_exe); 1507 const char * args[] = {path, "-systray", 0 }; 1507 1508 # ifdef RT_OS_WINDOWS /** @todo drop this once the RTProcCreate bug has been fixed */ 1508 const char * args[] = {path, "-systray", 0 };1509 rc = RTProcCreate (path, args, env, 0, &pid); 1509 1510 # else 1510 const char * args[] = {path, "-systray", 0 };1511 rc = RTProcCreate (path, args, env, RTPROC_FLAGS_DAEMONIZE, &pid); 1511 1512 # endif 1512 rc = RTProcCreate (path, args, env, RTPROC_FLAGS_DAEMONIZE, &pid); 1513 1513 1514 if (RT_FAILURE (rc)) 1514 1515 {
Note:
See TracChangeset
for help on using the changeset viewer.