MCPcopy Create free account
hub / github.com/basarat/typescript-book / ChildProcess

Interface ChildProcess

code/compiler/typings/node/node.d.ts:803–811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801 import stream = require("stream");
802
803 export interface ChildProcess extends events.EventEmitter {
804 stdin: stream.Writable;
805 stdout: stream.Readable;
806 stderr: stream.Readable;
807 pid: number;
808 kill(signal?: string): void;
809 send(message: any, sendHandle?: any): void;
810 disconnect(): void;
811 }
812
813 export function spawn(command: string, args?: string[], options?: {
814 cwd?: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected