MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / redirect_to

Function redirect_to

src/process.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49#ifndef _WIN32
50
51static std::function<void(const char*)> redirect_to(std::ostream& os)
52{
53 return [&](const char* x) { os << x; };
54}
55
56template <class F>
57static int exec(const std::string& cmd, const char* type, F f)

Callers 2

readMethod · 0.85
execMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected