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

Function test_exename

test/test_subprocess.cc:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4using namespace subprocess;
5
6void test_exename()
7{
8#ifdef __USING_WINDOWS__
9 auto ret = call({"--version"}, executable{"cmake"}, shell{false});
10#else
11 auto ret = call({"-l"}, executable{"ls"}, shell{false});
12#endif
13 std::cout << ret << std::endl;
14}
15
16void test_input()
17{

Callers

nothing calls this directly

Calls 1

callFunction · 0.85

Tested by

no test coverage detected