| 211 | } |
| 212 | |
| 213 | static 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 |
nothing calls this directly
no outgoing calls
no test coverage detected