MCPcopy Create free account
hub / github.com/arun11299/cpp-subprocess / communicate

Method communicate

cpp-subprocess/subprocess.hpp:1440–1445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1438 { return stream_.send(msg); }
1439
1440 std::pair<OutBuffer, ErrBuffer> communicate(const char* msg, size_t length)
1441 {
1442 auto res = stream_.communicate(msg, length);
1443 retcode_ = wait();
1444 return res;
1445 }
1446
1447 std::pair<OutBuffer, ErrBuffer> communicate(const std::string& msg)
1448 {

Callers

nothing calls this directly

Calls 1

communicateMethod · 0.45

Tested by

no test coverage detected