FForkProcessHelper::IsForkRequested

Returns true if the server process was launched with the intention to fork.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Fork.h

Include

#include "Misc/Fork.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/Fork.cpp

Syntax

static bool IsForkRequested()

Remarks

Returns true if the server process was launched with the intention to fork. This could be a process on a fork-supported platform that will launch real child processes. (-WaitAndFork is set) Or it could be a process that will simulate forking by tranforming itself into a child process via fake forking (-FakeForking is set)