MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / exec

Method exec

packages/kaos/src/kaos.ts:94–94  ·  view source on GitHub ↗

Spawn a process with the given arguments.

(...args: string[])

Source from the content-addressed store, hash-verified

92
93 /** Spawn a process with the given arguments. */
94 exec(...args: string[]): Promise<KaosProcess>;
95 /** Spawn a process with explicit environment variables. */
96 execWithEnv(args: string[], env?: Record<string, string>): Promise<KaosProcess>;
97}

Callers 15

normalizeRemoteFunction · 0.65
parseClaudeFamilyVersionFunction · 0.65
isOpus47Function · 0.65
toolCallIdToNameFunction · 0.65
findWordForwardFunction · 0.65
delMethod · 0.65
trimPartialClosingFencesFunction · 0.65
getOrderedListMarkerMethod · 0.65
ask-user.test.tsFile · 0.65
captureCommandRewriteFunction · 0.65
bash.test.tsFile · 0.65

Implementers 3

SSHKaospackages/kaos/src/ssh.ts
LocalKaospackages/kaos/src/local.ts
AcpKaospackages/acp-adapter/src/kaos-acp.ts

Calls

no outgoing calls

Tested by 5

captureCommandRewriteFunction · 0.52
savedOutputPathFunction · 0.52
runCmdFunction · 0.52
runShFunction · 0.52
videoPathFromPartsFunction · 0.52