From 088239cbaa48d44d4bee3af20be572ec3270c670 Mon Sep 17 00:00:00 2001 From: Longtsing Date: Tue, 2 Apr 2024 11:10:16 +0800 Subject: [PATCH] Update code.cmd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed the issue where the cmd window remains when executing the code command under cmd to open vscode. The issue : https://github.com/Microsoft/vscode/issues/70139 --- resources/win32/bin/code.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/win32/bin/code.cmd b/resources/win32/bin/code.cmd index 7e7b92c9eb71e..320de00ec5924 100644 --- a/resources/win32/bin/code.cmd +++ b/resources/win32/bin/code.cmd @@ -2,6 +2,6 @@ setlocal set VSCODE_DEV= set ELECTRON_RUN_AS_NODE=1 -"%~dp0..\@@NAME@@.exe" "%~dp0..\resources\app\out\cli.js" %* +START /B "" "%~dp0..\@@NAME@@.exe" "%~dp0..\resources\app\out\cli.js" %* IF %ERRORLEVEL% NEQ 0 EXIT /b %ERRORLEVEL% endlocal