From 4f2bed2e7dde689d825d8b0c5eacb2ecefb6a890 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 22 Jul 2024 08:59:34 +0200 Subject: [PATCH] Update lollms_advanced.py --- endpoints/lollms_advanced.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/lollms_advanced.py b/endpoints/lollms_advanced.py index 6159c8e8..945e9524 100644 --- a/endpoints/lollms_advanced.py +++ b/endpoints/lollms_advanced.py @@ -312,7 +312,7 @@ async def open_discussion_folder_in_vs_code(request: OpenCodeFolderInVsCodeReque if os.path.isdir(root_folder): path = '"'+str(root_folder)+'"'.replace("\\","/") - subprocess.run(['code', path], shell=True) + subprocess.run(['code', '-n', path], shell=True) return {"status": True, "execution_time": 0}