MCPcopy
hub / github.com/anomalyco/opencode / run

Function run

packages/opencode/src/lsp/server.ts:22–22  ·  view source on GitHub ↗
(cmd: string[], opts: Process.RunOptions = {})

Source from the content-addressed store, hash-verified

20 .then(() => true)
21 .catch(() => false)
22const run = (cmd: string[], opts: Process.RunOptions = {}) => Process.run(cmd, { ...opts, nothrow: true })
23const output = (cmd: string[], opts: Process.RunOptions = {}) => Process.text(cmd, { ...opts, nothrow: true })
24
25export interface Handle {

Callers 2

lsp.tsFile · 0.70
spawnFunction · 0.70

Calls 1

runMethod · 0.45

Tested by

no test coverage detected