Navigation
Unreal Engine C++ API Reference > Runtime > Core > GenericPlatform > FGenericPlatformProcess > CreateProc
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 |
static FProcHandle CreateProc
&40;
const TCHAR &42; URL,
const TCHAR &42; Parms,
bool bLaunchDetached,
bool bLaunchHidden,
bool bLaunchReallyHidden,
uint32 &42; OutProcessID,
int32 PriorityModifier,
const TCHAR &42; OptionalWorkingDirectory,
void &42; PipeWriteChild,
void &42; PipeReadChild
&41;
Remarks
Creates a new process and its primary thread. The new process runs the specified executable file in the security context of the calling process. The process handle for use in other process functions
Parameters
Name | Description |
---|---|
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 |