mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
cleanup
This commit is contained in:
@@ -41,12 +41,6 @@ export const safeSpawn = (params: Params) => {
|
|||||||
}, timeout);
|
}, timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write stdin if provided
|
|
||||||
if (stdin && child.stdin) {
|
|
||||||
child.stdin.write(stdin);
|
|
||||||
child.stdin.end();
|
|
||||||
}
|
|
||||||
|
|
||||||
child.stdout.on("data", (data) => {
|
child.stdout.on("data", (data) => {
|
||||||
if (callbacks.onStdout) {
|
if (callbacks.onStdout) {
|
||||||
callbacks.onStdout(data.toString());
|
callbacks.onStdout(data.toString());
|
||||||
|
|||||||
Reference in New Issue
Block a user