MCPcopy Index your code
hub / github.com/desktop/desktop / sh

Function sh

script/sh.ts:12–15  ·  view source on GitHub ↗
(cmd: string, ...args: string[])

Source from the content-addressed store, hash-verified

10 * shell metacharacters may be used to trigger arbitrary command execution.
11 */
12export const sh = (cmd: string, ...args: string[]) =>
13 execFileP(cmd, args, { maxBuffer: Infinity, shell: true }).then(
14 ({ stdout }) => stdout
15 )

Callers 4

getLogLinesFunction · 0.90
getLatestReleaseFunction · 0.90
createReleaseBranchFunction · 0.90
getPullRequestContentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected