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

Function cbm_proc_outcome_str

src/foundation/subprocess.c:72–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72const char *cbm_proc_outcome_str(cbm_proc_outcome_t o) {
73 switch (o) {
74 case CBM_PROC_CLEAN:
75 return "clean";
76 case CBM_PROC_EXIT_NONZERO:
77 return "exit_nonzero";
78 case CBM_PROC_CRASH:
79 return "crash";
80 case CBM_PROC_HANG:
81 return "hang";
82 case CBM_PROC_KILLED:
83 return "killed";
84 case CBM_PROC_SPAWN_FAILED:
85 default:
86 return "spawn_failed";
87 }
88}
89
90/* Tail newly-appended complete lines from the child log, starting at *tail_pos.
91 * A partial (non-newline-terminated) final line is left buffered: *tail_pos is

Callers 4

index_run_supervisedFunction · 0.85
cbm_index_spawn_workerFunction · 0.85
test_subprocess.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected