MCPcopy Create free account
hub / github.com/COVESA/vsomeip / Process

Method Process

test/common/src/external/process.cpp:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace TinyProcessLib {
4
5Process::Process(const std::vector<string_type>& arguments, const string_type& path,
6 std::function<void(const char* bytes, size_t n)> read_stdout, std::function<void(const char* bytes, size_t n)> read_stderr,
7 bool open_stdin, const Config& config) noexcept :
8 closed(true), read_stdout(std::move(read_stdout)), read_stderr(std::move(read_stderr)), open_stdin(open_stdin), config(config) {
9 open(arguments, path);
10 async_read();
11}
12
13Process::Process(const string_type& command, const string_type& path, std::function<void(const char* bytes, size_t n)> read_stdout,
14 std::function<void(const char* bytes, size_t n)> read_stderr, bool open_stdin, const Config& config) noexcept :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected