I have a script that works independently of godot: I compile it in my computer and run it, and it generates a random maze for the game that is saved on a .txt file which godot then can load and read. The script doesn't need to interact with godot at all.
I wrote it in c++ because it is a long algorithm, takes around 20 seconds, so there is no chance to coding it in GDScript (would be way too slow).
What'd be the easiest way to run this c++ script every time the game starts?