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

Method exec

src/process.cpp:437–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437void process::exec()
438{
439#ifndef _WIN32
440 impl->check_exec(impl->get_command(), redirect_to(std::cout));
441#else
442 // clang-format off
443 impl->check_exec(impl->command, impl->cwd.string(), impl->args, impl->envs,
444 GetStdHandle(STD_OUTPUT_HANDLE));
445 // clang-format on
446#endif
447}
448
449void process::write(std::function<void(writer)> pipe_in)
450{

Callers 1

executeMethod · 0.45

Calls 3

redirect_toFunction · 0.85
check_execMethod · 0.80
get_commandMethod · 0.80

Tested by

no test coverage detected