This commit is contained in:
Renan Bernordi
2025-11-16 17:14:16 -03:00
parent 0efe57b62e
commit b333489ae6

View File

@@ -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());