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

Function cbm_popen_init

src/foundation/compat_fs.c:213–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213static BOOL CALLBACK cbm_popen_init(PINIT_ONCE once, PVOID param, PVOID *ctx) {
214 (void)once;
215 (void)param;
216 (void)ctx;
217 InitializeCriticalSection(&g_popen_lock);
218 return TRUE;
219}
220
221/* Resolve the shell explicitly — %COMSPEC%, else <system dir>\cmd.exe — so it
222 * can be passed as lpApplicationName and CreateProcess never walks the search

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected