From f1a9046193f014148d6fcdaf53ee53c6a2f4608e Mon Sep 17 00:00:00 2001 From: Sympatron GmbH <35803463+Sympatron@users.noreply.github.com> Date: Tue, 4 Oct 2022 15:30:19 +0000 Subject: [PATCH] Prevent terminal window from showing when using ping on Windows (#2152) --- server/ping-lite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/ping-lite.js b/server/ping-lite.js index b7d003b81..05dff31db 100644 --- a/server/ping-lite.js +++ b/server/ping-lite.js @@ -105,7 +105,7 @@ Ping.prototype.send = function (callback) { let _exited; let _errored; - this._ping = spawn(this._bin, this._args); // spawn the binary + this._ping = spawn(this._bin, this._args, { windowsHide: true }); // spawn the binary this._ping.on("error", function (err) { // handle binary errors _errored = true;