FGenericPlatformProcess::CreatePipe

Creates a writable anonymous pipe.

Windows
MacOS
Linux

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

Syntax

static bool CreatePipe
(
    void *& ReadPipe,
    void *& WritePipe
)

Remarks

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

Returns

true on success, false otherwise.

Parameters

Parameter

Description

ReadPipe

Will hold the handle to the read end of the pipe.

WritePipe

Will hold the handle to the write end of the pipe.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss