Enum OS.StdHandleType
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum OS.StdHandleType : long
Fields
Console = 1Standard 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 = 2Standard I/O device is a regular file. This typically occurs with redirection from a terminal, e.g.
godot > stdout.txt,godot < stdin.txtorgodot > stdout_stderr.txt 2>&1.Invalid = 0Standard I/O device is invalid. No data can be received from or sent to these standard I/O devices.
Pipe = 3Standard I/O device is a FIFO/pipe. This typically occurs with pipe usage from a terminal, e.g.
echo "Hello" | godot.Unknown = 4Standard I/O device type is unknown.