MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / run

Function run

e2e/setup/desktop-linux.globalsetup.ts:46–47  ·  view source on GitHub ↗
(cmd: string, args: string[], env: Record<string, string> = {})

Source from the content-addressed store, hash-verified

44const ensureBundle = (): void => {
45 if (existsSync(hostBundle().dir)) return;
46 const run = (cmd: string, args: string[], env: Record<string, string> = {}) =>
47 execFileSync(cmd, args, { cwd: appDir, stdio: "inherit", env: { ...process.env, ...env } });
48 run("bun", ["./scripts/build-sidecar.ts"], { BUN_TARGET: "bun-linux-arm64" });
49 run("bunx", ["--bun", "electron-vite", "build"]);
50 run(

Callers 1

ensureBundleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected