cleanup
This commit is contained in:
parent
0efe57b62e
commit
b333489ae6
1 changed files with 0 additions and 6 deletions
|
|
@ -41,12 +41,6 @@ export const safeSpawn = (params: Params) => {
|
|||
}, timeout);
|
||||
}
|
||||
|
||||
// Write stdin if provided
|
||||
if (stdin && child.stdin) {
|
||||
child.stdin.write(stdin);
|
||||
child.stdin.end();
|
||||
}
|
||||
|
||||
child.stdout.on("data", (data) => {
|
||||
if (callbacks.onStdout) {
|
||||
callbacks.onStdout(data.toString());
|
||||
|
|
|
|||
Loading…
Reference in a new issue