VirtualBox

Changeset 27743 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 26, 2010 2:50:55 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59375
Message:

IPRT,*: Renamed RTProcDaemonize to RTProcDaemonizeUsingFork. Added a new RTPRocDaemonize that is portable. RTProcCreate* got a new flag RTPROC_FLAGS_DETACHED, while RTPROC_FLAGS_DAEMONIZE got renamed to RTPROC_FLAGS_DAEMONIZE_DEPRECATED.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r27682 r27743  
    888888    rc = RTProcCreate (path, args, env, 0, &pid);
    889889# else
    890     rc = RTProcCreate (path, args, env, RTPROC_FLAGS_DAEMONIZE, &pid);
     890    rc = RTProcCreate (path, args, env, RTPROC_FLAGS_DAEMONIZE_DEPRECATED, &pid);
    891891# endif
    892892    if (RT_FAILURE (rc))
     
    936936        strcpy (cmd, VirtualBox_exe);
    937937        const char * args[] = {path, "-systray", 0 };
    938     # ifdef RT_OS_WINDOWS /** @todo drop this once the RTProcCreate bug has been fixed */
     938# ifdef RT_OS_WINDOWS /** @todo drop this once the RTProcCreate bug has been fixed */
    939939        rc = RTProcCreate (path, args, env, 0, &pid);
    940     # else
    941         rc = RTProcCreate (path, args, env, RTPROC_FLAGS_DAEMONIZE, &pid);
    942     # endif
     940# else
     941        rc = RTProcCreate (path, args, env, RTPROC_FLAGS_DAEMONIZE_DEPRECATED, &pid);
     942# endif
    943943
    944944        if (RT_FAILURE (rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette