FGenericPlatformProcess::ExecProcess

Executes a process, returning the return code, stdout, and stderr.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h

Include

#include "GenericPlatform/GenericPlatformProcess.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp

Syntax

static bool ExecProcess
(
    const TCHAR * URL,
    const TCHAR * Params,
    int32 * OutReturnCode,
    FString * OutStdOut,
    FString * OutStdErr,
    const TCHAR * OptionalWorkingDirectory
)

Remarks

Executes a process, returning the return code, stdout, and stderr. This call blocks until the process has returned.

Parameters

Parameter

Description

OutReturnCode

may be 0

OutStdOut

may be 0

OutStdErr

may be 0 may be 0

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