MCPcopy Create free account
hub / github.com/Effect-TS/effect / runCommand

Method runCommand

packages/tools/api-diff/src/Worktrees.ts:67–75  ·  view source on GitHub ↗
(
        command: string,
        args: ReadonlyArray<string>,
        cwd: string
      )

Source from the content-addressed store, hash-verified

65 })
66
67 const runCommand = (
68 command: string,
69 args: ReadonlyArray<string>,
70 cwd: string
71 ): Effect.Effect<{
72 readonly display: string
73 readonly exitCode: ChildProcessSpawner.ExitCode
74 readonly output: string
75 }, ApiDiffError> => Effect.scoped(runCommandScoped(command, args, cwd))
76
77 const runChecked = Effect.fnUntraced(function*(
78 command: string,

Callers 1

Core.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected