Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformProcess
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TTuple< FProcHandle, UE::HAL::EProcessId > CreateProc
(
const UE::HAL::FProcessStartInfo& StartInfo |
Creates a new process using StartInfo. | GenericPlatform/GenericPlatformProcess.h | |
static FProcHandle CreateProc
(
const TCHAR* URL, |
Creates a new process and its primary thread. | GenericPlatform/GenericPlatformProcess.h | |
static FProcHandle CreateProc
(
const TCHAR* URL, |
Creates a new process and its primary thread, with separate std pipes. | GenericPlatform/GenericPlatformProcess.h |
CreateProc(const UE::HAL::FProcessStartInfo &)
Description
Creates a new process using StartInfo. The new process runs the specified executable file in the security context of the calling process.
| Name | CreateProc |
| 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 TTuple < FProcHandle , UE::HAL::EProcessId > CreateProc
(
const UE::HAL::FProcessStartInfo & StartInfo
)
The process Handle and Id for use in other process functions
Parameters
| Name | Remarks |
|---|---|
| StartInfo | The starting parameters |
CreateProc(const TCHAR , const TCHAR , bool, bool, bool, uint32 , int32, const TCHAR , void , void )
Description
Creates a new process and its primary thread. The new process runs the specified executable file in the security context of the calling process.
| Name | CreateProc |
| 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 FProcHandle CreateProc
(
const TCHAR * URL,
const TCHAR * Parms,
bool bLaunchDetached,
bool bLaunchHidden,
bool bLaunchReallyHidden,
uint32 * OutProcessID,
int32 PriorityModifier,
const TCHAR * OptionalWorkingDirectory,
void * PipeWriteChild,
void * PipeReadChild
)
The process handle for use in other process functions
Parameters
| Name | Remarks |
|---|---|
| URL | executable name |
| Parms | command line arguments |
| bLaunchDetached | if true, the new process will have its own window |
| bLaunchHidden | if true, the new process will be minimized in the task bar |
| bLaunchReallyHidden | if true, the new process will not have a window or be in the task bar |
| OutProcessId | if non-NULL, this will be filled in with the ProcessId |
| PriorityModifier | 2 idle, -1 low, 0 normal, 1 high, 2 higher |
| OptionalWorkingDirectory | Directory to start in when running the program, or NULL to use the current working directory |
| PipeWriteChild | Optional HANDLE to pipe for redirecting output |
| PipeReadChild | Optional HANDLE to pipe for redirecting input |
CreateProc(const TCHAR , const TCHAR , bool, bool, bool, uint32 , int32, const TCHAR , void , void , void *)
Description
Creates a new process and its primary thread, with separate std pipes. The new process runs the specified executable file in the security context of the calling process.
| Name | CreateProc |
| 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 FProcHandle CreateProc
(
const TCHAR * URL,
const TCHAR * Parms,
bool bLaunchDetached,
bool bLaunchHidden,
bool bLaunchReallyHidden,
uint32 * OutProcessID,
int32 PriorityModifier,
const TCHAR * OptionalWorkingDirectory,
void * PipeWriteChild,
void * PipeReadChild,
void * PipeStdErrChild
)
The process handle for use in other process functions
Parameters
| Name | Remarks |
|---|---|
| URL | executable name |
| Parms | command line arguments |
| bLaunchDetached | if true, the new process will have its own window |
| bLaunchHidden | if true, the new process will be minimized in the task bar |
| bLaunchReallyHidden | if true, the new process will not have a window or be in the task bar |
| OutProcessId | if non-NULL, this will be filled in with the ProcessId |
| PriorityModifier | 2 idle, -1 low, 0 normal, 1 high, 2 higher |
| OptionalWorkingDirectory | Directory to start in when running the program, or NULL to use the current working directory |
| PipeWriteChild | Optional HANDLE to pipe for redirecting stdout |
| PipeReadChild | Optional HANDLE to pipe for redirecting stdin |
| PipeStdErrChild | Optional HANDLE to pipe for redirecting stderr |