FGenericPlatformProcess::ReadPipeToArray

Reads all pending data from an anonymous pipe, such as STDOUT or STDERROR of a process.

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 ReadPipeToArray
(
    void * ReadPipe,
    TArray< uint8 > & Output
)

Remarks

Reads all pending data from an anonymous pipe, such as STDOUT or STDERROR of a process.

Returns

true if successful (i.e. any data was read)

Parameters

Parameter

Description

Pipe

The handle to the pipe to read from.

Output

The data read.

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