FProcState::GetReturnCode

Returns child's return code (only valid to call if not running)

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Unix/UnixPlatformProcess.h

Include

#include "Unix/UnixPlatformProcess.h"

Source

/Engine/Source/Runtime/Core/Private/Unix/UnixPlatformProcess.cpp

Syntax

bool GetReturnCode
(
    int32 * ReturnCodePtr
)

Remarks

Returns child's return code (only valid to call if not running)

Returns

return whether we have the return code (we don't if it crashed)

Parameters

Parameter

Description

ReturnCode

set to return code if not NULL (use the value only if method returned true)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss