Use async_pipe for stderr reading

This commit is contained in:
badaix 2020-01-05 22:15:12 +01:00
parent ad05e87f6d
commit 32ca5144a5
2 changed files with 5 additions and 6 deletions

View file

@ -54,12 +54,11 @@ protected:
std::string path_;
std::string params_;
bp::pipe pipe_stdout_;
bp::pipe pipe_stderr_;
bp::async_pipe pipe_stderr_;
bp::child process_;
bool logStderr_;
boost::asio::streambuf streambuf_stderr_;
std::unique_ptr<stream_descriptor> stream_stderr_;
// void worker() override;
virtual void stderrReadLine();