sheredom / subprocess.h

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

MinGW support #58

Closed takase1121 closed 2 years ago

takase1121 commented 2 years ago

By default subprocess.h will not work on MinGW because of _MSC_VER.

I managed to get it to compile (and at least work (create, read stderr and join)) by:

sheredom commented 2 years ago

I don't support MinGW - if there was a way to test support for it in GitHub Actions I could consider it though.

takase1121 commented 2 years ago

I can help with that, but I'm busy at the moment. Anyone interested can just take up the job in the meantime.

sheredom commented 2 years ago

Given I'm not intending on fixing this myself, and you don't have the time, I'm closing the issue.

Feel free to re-open if you get the chance to look at this (but I've personally no intention of ever working on MinGW support on Windows!)