UNPKG

compile-run

Version:

You can execute programs in different languages using this package

9 lines (8 loc) 273 B
/// <reference types="node" /> import { ChildProcess } from "child_process"; /** * Write the stdin into the child process * @param proc Child process refrence * @param stdin stdin string */ export declare function writeToStdin(proc: ChildProcess, stdin: string): void;