From 1348db6a85ced67f13938f8c0c8c33f8bd2c21ac Mon Sep 17 00:00:00 2001 From: Korbinian Eckstein Date: Tue, 14 Nov 2023 16:37:25 +1100 Subject: [PATCH] Fix server launch arguments formatting (for windows); this allows to have network mounts in windows --- src/main/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/server.ts b/src/main/server.ts index 870def4c..09ff7956 100644 --- a/src/main/server.ts +++ b/src/main/server.ts @@ -72,7 +72,7 @@ function createLaunchScript( const tag = config.ConfigToml.jupyter_neurodesk_version; if (serverInfo.serverArgs) { - launchArgs.push(` -v ${serverInfo.serverArgs.replace(/\\/g, '/')}`); + launchArgs.push(` -v "${serverInfo.serverArgs}"`); } for (const arg of serverLaunchArgsFixed) {