mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-02 19:01:47 +02:00
Revert back to process from boost::process
This commit is contained in:
parent
d493493868
commit
e195298e74
3 changed files with 259 additions and 24 deletions
|
@ -19,17 +19,13 @@
|
|||
#ifndef PROCESS_STREAM_HPP
|
||||
#define PROCESS_STREAM_HPP
|
||||
|
||||
#include <boost/process.hpp>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "posix_stream.hpp"
|
||||
#include "process.hpp"
|
||||
#include "watchdog.hpp"
|
||||
|
||||
|
||||
namespace bp = boost::process;
|
||||
|
||||
|
||||
namespace streamreader
|
||||
{
|
||||
|
||||
|
@ -53,9 +49,7 @@ protected:
|
|||
std::string exe_;
|
||||
std::string path_;
|
||||
std::string params_;
|
||||
bp::pipe pipe_stdout_;
|
||||
bp::pipe pipe_stderr_;
|
||||
bp::child process_;
|
||||
std::unique_ptr<Process> process_;
|
||||
|
||||
bool logStderr_;
|
||||
boost::asio::streambuf streambuf_stderr_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue