6#include "GenericPlatform/GenericPlatformProcess.h"
7#include "Windows/WindowsSystemIncludes.h"
29
30
35
36
40 virtual bool TryLock(uint64 NanosecondsToWait);
64
65
81
82
83
84
95
96
145 static const TCHAR*
UserName(
bool bOnlyAlphaNumeric =
true);
157 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 =
nullptr);
158 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);
167 TFunctionRef<
bool(uint32 ProcessId,
const TCHAR* ApplicationName)> Predicate);
174 static bool ExecProcess(
const TCHAR* URL,
const TCHAR* Params, int32* OutReturnCode,
FString* OutStdOut,
FString* OutStdErr,
const TCHAR* OptionalWorkingDirectory = NULL,
bool bShouldEndWithParentProcess =
false);
184 UE_DEPRECATED(5.0,
"Please use GetSynchEventFromPool to create a new event, and ReturnSynchEventToPool to release the event.")
187 static void ClosePipe(
void* ReadPipe,
void* WritePipe );
188 static bool CreatePipe(
void*& ReadPipe,
void*& WritePipe,
bool bWritePipeLocal =
false);
192 static bool WritePipe(
void* WritePipe,
const uint8* Data,
const int32 DataLength, int32* OutDataLength =
nullptr);
203
204
210
211
212
213
214
215
221
222
223
227
228
232
233
237
238
239
240
241
242
246
247
248
249
250
251
255
256
257
258
259
260
261
#define UE_DEPRECATED(Version, Message)
tagPROCESSENTRY32W PROCESSENTRY32
FORCEINLINE FProcHandle(HandleType Other)
FORCEINLINE FProcHandle()