diff options
-rw-r--r-- | src/corelib/io/qprocess_unix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qprocess_unix.cpp b/src/corelib/io/qprocess_unix.cpp index 422cbbf1c5..4f86b91425 100644 --- a/src/corelib/io/qprocess_unix.cpp +++ b/src/corelib/io/qprocess_unix.cpp @@ -471,6 +471,8 @@ void QProcessPrivate::startProcess() #if defined(Q_OS_LINUX) && !QT_CONFIG(forkfd_pidfd) ffdflags |= FFD_USE_FORK; #endif + if (unixExtras && unixExtras->childProcessModifier) + ffdflags |= FFD_USE_FORK; pid_t childPid; forkfd = ::vforkfd(ffdflags , &childPid, execChild2, &execChild1); |