MCPcopy Index your code
hub / github.com/callstack/agent-device / runCmdDetached

Function runCmdDetached

src/utils/exec.ts:320–326  ·  view source on GitHub ↗
(
  cmd: string,
  args: string[],
  options: ExecDetachedOptions = {},
)

Source from the content-addressed store, hash-verified

318}
319
320export function runCmdDetached(
321 cmd: string,
322 args: string[],
323 options: ExecDetachedOptions = {},
324): number {
325 return runCmdDetachedMonitored(cmd, args, options).pid;
326}
327
328export function runCmdDetachedMonitored(
329 cmd: string,

Callers 6

spawnCompanionProcessFunction · 0.90
exec.test.tsFile · 0.90
startMetroProcessFunction · 0.90

Calls 1

runCmdDetachedMonitoredFunction · 0.85

Tested by

no test coverage detected