execa
Version:
Process execution for humans
11 lines (7 loc) • 344 B
TypeScript
type FileDescriptorOption = `fd${number}`;
// `from` option of `subprocess.readable|duplex|iterable|pipe()`
// Also used by fd-specific options
export type FromOption = 'stdout' | 'stderr' | 'all' | FileDescriptorOption;
// `to` option of `subprocess.writable|duplex|pipe()`
export type ToOption = 'stdin' | FileDescriptorOption;
export {};