From 59affc0efaedbcf4d0c4b1256872cc440f6ab86c Mon Sep 17 00:00:00 2001 From: Jakob Hohlfeld Date: Wed, 15 May 2024 12:11:16 -0300 Subject: [PATCH] fix: remove setEncoding on write stream (#687) --- src/exec.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/exec.js b/src/exec.js index 7865205..1d3ca89 100644 --- a/src/exec.js +++ b/src/exec.js @@ -32,7 +32,6 @@ const exec = (command, args, stdin, cwd, detached) => { return reject(err) } }) - process.stdin.setEncoding('utf-8') process.stdin.write(stdin) process.stdin.end() }