Skip to content

SpawnLike

type SpawnLike = (cmd, cwd, env?) => Promise<number>;

Defined in: src/build/examples.ts:47

Run cmd in cwd with extra env, inheriting stdio; resolve with the exit code.

Parameter Type
cmd string[]
cwd string
env? Record<string, string>

Promise<number>