sheredom / subprocess.h

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

"echo" -> "/bin/echo" #46

Open Verdagon opened 3 years ago

Verdagon commented 3 years ago

The reading stdout example in the README didn't work for us; stdout was just empty.

However, when we used "/bin/echo" instead of "echo" for the command, it worked!

I imagine changing the example from echo to /bin/echo would make it not work on windows though, so I'm not sure the wisest course here.