Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformProcess
Description
Executes a process, returning the return code, stdout, and stderr. This call blocks until the process has returned.
| Name | ExecProcess |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h |
| Include Path | #include "GenericPlatform/GenericPlatformProcess.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp |
static bool ExecProcess
(
const TCHAR * URL,
const TCHAR * Params,
int32 * OutReturnCode,
FString * OutStdOut,
FString * OutStdErr,
const TCHAR * OptionalWorkingDirectory,
bool bShouldEndWithParentProcess
)
Parameters
| Name | Remarks |
|---|---|
| OutReturnCode | may be 0 |
| OutStdOut | may be 0 |
| OutStdErr | may be 0 @OptionalWorkingDirectory may be 0 @OptionalbShouldEndWithParentProcess false by default. True to make sure the process is killed with the parent processor (Not Supported on all Platforms) |