Tested on Windows and works as expected.
@techee the current code doesn't use the `g_app_info_launch*` functions but just uses Geany's spawn code as before on Linux and MacOS and now also for Windows. Does it work this way on MacOS as well, i.e. these changes as is?