MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / execute

Function execute

tests/test_coverage_children.c:118–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118static int execute(enum ChildOperation operation, const char *path, char **args) {
119 switch (operation) {
120 case EXEC_VE:
121 return execve(path, args, environ);
122 case EXEC_V:
123 return execv(path, args);
124 case EXEC_VP:
125 return execvp(path, args);
126 case EXEC_L:
127 return execl(path, args[0], args[1], args[2], args[3], (char *)NULL);
128 default:
129 return -2;
130 }
131}
132
133static void child_body(Child *child) __attribute__((noreturn));
134static void child_body(Child *child) {

Callers 1

child_bodyFunction · 0.85

Calls 4

execveFunction · 0.85
execvFunction · 0.85
execvpFunction · 0.85
execlFunction · 0.85

Tested by

no test coverage detected