sheredom / subprocess.h

🐜 single header process launching solution for C and C++
The Unlicense
1.1k stars 97 forks source link

File descriptor leaking on Windows #88

Closed starseeker closed 3 months ago

starseeker commented 3 months ago

When launching large numbers of subprocesses on Windows, eventually we get a failure to launch another subprocess and subsequent errors from our code indicating file descriptor resource starvation - it can't open a new log file to report errors.

starseeker commented 3 months ago

Never mind - looks like we were missing a subprocess_destroy call

sheredom commented 3 months ago

Glad you worked it out!