sheredom / subprocess.h

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

Can stdout and stderr be the same file? #2

Closed kbenzie closed 6 years ago

kbenzie commented 6 years ago

Is it possible to make stdout and stderr be the same FILE*? This can be useful when for getting the full context of a processes failure, or if the intention is to show its output in order as if in a terminal.

sheredom commented 6 years ago

I don't know for sure if its possible but I'll certainly look at adding it!

sheredom commented 6 years ago

Fixed in https://github.com/sheredom/process.h/pull/3 - please take a look!