SDL
SDL copied to clipboard
Could SDL_WaitProcess provide the exit code for background processes?
I'm using SDL_CreateProcessWithProperties to create a couple of background processes to do asset compilation while my game starts up in development builds. It would be really useful to get the exit codes of those processes so I can see whether or not they succeeded.
At the moment, SDL_WaitProcess explicitly clears the exit codes of background processes, to force compatibility with the POSIX behaviour.
I've patched this out in my local fork so it's not urgent for me, but it seems like a Good Thing to Have, assuming it's possible to make it work on POSIX systems as well. Thanks!