How to disable Godot's initial print statements?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Shadowfax224

I am using Godot for a pretty specialized use where I want processes to communicate over standard in/out. I am using GDNative to help with this, and that’s all working fine.

My question is about how to disable Godot’s automatic initial print statements. My executable automatically prints the following when it first runs.

Godot Engine v3.2.3.stable.official -
OpenGL ES 2.0 Renderer: ----- (cut for privacy) --------
OpenGL ES 2.0 Batching: ON

Is it possible to disable this?

My only guess is that you have to hack the engine to have that removed.

Ertain | 2021-08-29 00:33

:bust_in_silhouette: Reply From: theMX89

i guess, it isn’t.

:bust_in_silhouette: Reply From: Calinou

Start Godot with the --quiet command line argument.

Thanks! Running my built executable as ./game.exe --quiet worked!

Shadowfax224 | 2021-08-29 19:25

what if i want to keep the output from print()?

CatastrophicDInosaur | 2023-04-16 10:30