Method
runCommand
(
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, |
Tested by
no test coverage detected