VirtualBox

Changeset 47093 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 11, 2013 2:09:57 PM (11 years ago)
Author:
vboxsync
Message:

Runtime/RTProcDaemonize: Use RTPROC_FLAGS_SAME_CONTRACT when creating the new process. Should prevent Solaris SMF from restarting TestExecService

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/RTProcDaemonize-generic.cpp

    r44529 r47093  
    8181            hStdOutAndErr.enmType = RTHANDLETYPE_FILE;
    8282
    83             rc = RTProcCreateEx(szExecPath, papszNewArgs, RTENV_DEFAULT, RTPROC_FLAGS_DETACHED,
     83            rc = RTProcCreateEx(szExecPath, papszNewArgs, RTENV_DEFAULT,
     84                                RTPROC_FLAGS_DETACHED | RTPROC_FLAGS_SAME_CONTRACT,
    8485                                &hStdIn, &hStdOutAndErr, &hStdOutAndErr,
    8586                                NULL /*pszAsUser*/,  NULL /*pszPassword*/, NULL /*phProcess*/);
Note: See TracChangeset for help on using the changeset viewer.

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