From 2356403889628aa585d91acdb6d01e9d9dbb37f9 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 18 Nov 2013 10:21:17 +0000 Subject: [PATCH] feature(socket) add Win32 condition --- lib/server/socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server/socket.js b/lib/server/socket.js index 75739938..85a28d4b 100644 --- a/lib/server/socket.js +++ b/lib/server/socket.js @@ -195,7 +195,7 @@ }); io.sockets.emit('message', lMsg); - } else if (firstChar === ' ' || isContain) + } else if (WIN32 || firstChar === ' ' || isContain) exec(pCommand, options, lExec_func); else getSpawn(pCommand, options, function(json) {