MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / shell_write

Function shell_write

source/matplot/util/popen.cpp:252–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252int shell_write(const std::string &cmd, std::string &data)
253{
254 auto pipe = opipe{};
255 if (auto err = pipe.open(cmd); err != 0)
256 return err;
257 return pipe.write(data);
258}
259
260int shell_read(const std::string &cmd, std::string &data)
261{

Callers

nothing calls this directly

Calls 2

openMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected