MCPcopy Create free account
hub / github.com/anomalyco/opencode / runWslInDistro

Function runWslInDistro

packages/desktop/src/main/wsl/runtime.ts:197–199  ·  view source on GitHub ↗
(args: string[], distro?: string | null, opts?: RunWslOptions)

Source from the content-addressed store, hash-verified

195}
196
197export function runWslInDistro(args: string[], distro?: string | null, opts?: RunWslOptions) {
198 return runWsl(wslArgs(args, distro), opts)
199}
200
201export function runWslSh(script: string, distro?: string | null, opts?: RunWslOptions) {
202 return runWslInDistro(["sh", "-lc", script], distro, opts)

Callers 2

runWslShFunction · 0.85
probeWslDistroFunction · 0.85

Calls 2

runWslFunction · 0.85
wslArgsFunction · 0.85

Tested by

no test coverage detected