sheredom / subprocess.h

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

fix a bug that empty strings are removed from args on Windows #86

Closed matyalatte closed 3 months ago

matyalatte commented 3 months ago

I noticed that subprocess_create removed empty strings from arguments on Windows. This PR adds quotes to empty strings to pass them to commands. It also tests subprocess_stdout_argc with empty strings.

sheredom commented 3 months ago

Good find!