However I’m extremely reluctant to add some C thing or, as much as it takes me back to my formative years, some Pascal thing.
What was requested was a tiny executable that is itself a GUI application (so that it doesn’t itself spawn a console window) that can spawn another executable (in this case, one that does use a console) in a hidden window.
That’s precisely what this does. The language shouldn’t make any difference.
For anyone interested, here’s an updated executable that starts syncthing.exe using “below normal” process priority (in case the setLowPriority configuration setting is set to false).