davechurchill / StarcraftAITournamentManager

Tournament Manager Software for StarCraft AI Competitions
MIT License
77 stars 43 forks source link

Fix for launching proxy bot modules. #5

Closed Agiclaw closed 7 years ago

Agiclaw commented 9 years ago

The run_proxy.bat call will no longer halt the tournament.

Using a proxy via the 'ClrAIModuleLoader' requires the loader to be running for the length of the match. The previous launch method would halt when the called run_proxy.bat would internally run 'cmd /c' or 'start' to launch the module loader. It's stuck waiting for a return for all child processes.

I could create a shim launcher application but would then have to worry about tracking and killing the module loader properly at the end of the match. Using the provided async method all child applications are still properly destroyed at the end of the match.