19 std::vector<std::string> args,
32 std::unique_ptr<impl> my;
abstract interface for interacting with external processes
static constexpr microseconds maximum()
wraps boost::filesystem::path to provide platform independent path manipulation.
start and manage an local process
virtual int result(const microseconds &timeout=microseconds::maximum())
virtual fc::buffered_ostream_ptr in_stream()
returns a stream that writes to the process' stdin
virtual fc::buffered_istream_ptr out_stream()
returns a stream that reads from the process' stdout
virtual iprocess & exec(const fc::path &exe, std::vector< std::string > args, const fc::path &work_dir=fc::path(), int opts=open_all)
virtual fc::buffered_istream_ptr err_stream()
returns a stream that reads from the process' stderr
std::shared_ptr< process > process_ptr
std::shared_ptr< buffered_istream > buffered_istream_ptr
std::shared_ptr< buffered_ostream > buffered_ostream_ptr
fc::path find_executable_in_path(const fc::string name)