Table of Contents

Enum OS.StdHandleType

Namespace
Godot
Assembly
GodotSharp.dll
public enum OS.StdHandleType : long

Fields

Console = 1

Standard I/O device is a console. This typically occurs when Godot is run from a terminal with no redirection. This is also used for all standard I/O devices when running Godot from the editor, at least on desktop platforms.

File = 2

Standard I/O device is a regular file. This typically occurs with redirection from a terminal, e.g. godot > stdout.txt, godot < stdin.txt or godot > stdout_stderr.txt 2>&1.

Invalid = 0

Standard I/O device is invalid. No data can be received from or sent to these standard I/O devices.

Pipe = 3

Standard I/O device is a FIFO/pipe. This typically occurs with pipe usage from a terminal, e.g. echo "Hello" | godot.

Unknown = 4

Standard I/O device type is unknown.