MCPcopy Index your code
hub / github.com/TanStack/ai / envArray

Method envArray

packages/ai-sandbox-docker/src/handle.ts:172–176  ·  view source on GitHub ↗
(extra?: Record<string, string>)

Source from the content-addressed store, hash-verified

170 }
171
172 private envArray(extra?: Record<string, string>): Array<string> {
173 return Object.entries({ ...this.envVars, ...extra }).map(
174 ([k, v]) => `${k}=${v}`,
175 )
176 }
177
178 private async exec(
179 command: string,

Callers 2

execMethod · 0.95
spawnProcessMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected