Command line exporting needlessly opens the editor window #43752
Description
Godot version:
v3.2.3.stable.official
OS/device including version:
macOS Catalina
Issue description:
When exporting via the command line (running with the --export
option), Godot opens the editor window for some reason, and then closes it a few seconds later after the export is done. I want to be able to automate exporting (which is is the purpose of command line functionality, right?), and having a random window pop up and cover whatever else I'm doing is a problem. On Windows, I think this could be worked around with the --no-window
option, but as mentioned in the docs, this doesn't work on other platforms.
Steps to reproduce:
Export any project from the command line.
Minimal reproduction project:
I wanted to include a minimal reproduction project, but even the editor binary and macOS export template individually are over the 10MB limit, and without them it's just a blank project with an export preset.