Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformProcess
Description
Creates a writable anonymous pipe.
Anonymous pipes can be used to capture and/or redirect STDOUT and STDERROR of a process. The pipe created by this method can be passed into CreateProc as Write
| Name | CreatePipe |
| 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 CreatePipe
(
void *& ReadPipe,
void *& WritePipe,
bool bWritePipeLocal
)
true on success, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| ReadPipe | Will hold the handle to the read end of the pipe. |
| WritePipe | Will hold the handle to the write end of the pipe. @parm bWritePipeLocal indicates that the write pipe end will be used locally, instead of the read pipe |
See Also
-
ReadPipe