skystrife / procxx

A simple process management library for C++ on UNIX platforms.
MIT License
144 stars 28 forks source link

Add ability to capture stderr #4

Closed ztdwu closed 8 years ago

ztdwu commented 8 years ago

Adds the ability to capture a process's stderr pipe.. Since std::streambuf only has 1 read end and 1 write and, the stderr has to be backed by its own streambuf. Probably not be the best implementation, but it works.

ztdwu commented 8 years ago

Closing and re-opening a new PR on a different branch because this PR was created on my master branch accidentally, which makes it auto-merge with the other commit.