MCPcopy
hub / github.com/openclaw/clawsweeper / codexProcessCommand

Function codexProcessCommand

src/codex-spawn.ts:20–22  ·  view source on GitHub ↗
(env: NodeJS.ProcessEnv = process.env)

Source from the content-addressed store, hash-verified

18const windowsMetaCharacterPattern = /([()\][%!^"`<>&|;, *?])/g;
19
20export function codexProcessCommand(env: NodeJS.ProcessEnv = process.env): string {
21 return env.CODEX_BIN?.trim() || "codex";
22}
23
24export function codexSpawnInvocation(
25 args: readonly string[],

Callers 3

codexSpawnInvocationFunction · 0.85
runCodexProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected