MCPcopy Create free account
hub / github.com/alibaba/zvec / RunShellCommand

Function RunShellCommand

tests/test_util.h:44–47  ·  view source on GitHub ↗

system() is declared warn_unused_result; the return value is irrelevant for best-effort cleanup in tests.

Source from the content-addressed store, hash-verified

42// system() is declared warn_unused_result; the return value is irrelevant for
43// best-effort cleanup in tests.
44inline void RunShellCommand(const std::string &command) {
45 int ret = system(command.c_str());
46 (void)ret;
47}
48#endif
49
50inline void RemoveTestPath(const std::string &path) {

Callers 2

RemoveTestPathFunction · 0.85
RemoveTestFilesFunction · 0.85

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected