Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alandefreitas/matplotplusplus
/ shell_read
Function
shell_read
source/matplot/util/popen.cpp:260–266 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
258
}
259
260
int shell_read(const std::string &cmd, std::string &data)
261
{
262
auto pipe = ipipe{};
263
if (auto err = pipe.open(cmd); err != 0)
264
return err;
265
return pipe.read(data);
266
}
Callers
1
run_and_get_output
Function · 0.85
Calls
2
read
Method · 0.80
open
Method · 0.45
Tested by
no test coverage detected