Windows Console Window

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.

It does when I have to maintain it and the build environment for it, for x86, x86_64, arm, and arm64.

No good deed goes unpunished, I guess. Sorry for the inconvenience. For those that want to use it, and like the small binary size, here it is.

2 Likes

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).

StartSyncthing-0.0.2.zip (116.0 KB)

2 Likes