UNPKG

spawnd

Version:
10 lines (7 loc) 402 B
import { ChildProcessWithoutNullStreams, SpawnOptionsWithoutStdio } from 'node:child_process'; interface SpawndChildProcess extends ChildProcessWithoutNullStreams { destroy: () => Promise<void>; } type SpawndOptions = SpawnOptionsWithoutStdio; declare const spawnd: (command: string, options?: SpawndOptions) => SpawndChildProcess; export { type SpawndChildProcess, type SpawndOptions, spawnd };