mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-11 16:16:42 +02:00
Use async_pipe for stderr reading
This commit is contained in:
parent
ad05e87f6d
commit
32ca5144a5
2 changed files with 5 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue