Skip to content

Commit

Permalink
Fix server launch arguments formatting (for windows);
Browse files Browse the repository at this point in the history
this allows to have network mounts in windows
  • Loading branch information
korbinian90 authored Nov 14, 2023
1 parent 960ddc0 commit 1348db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1348db6

Please sign in to comment.