Skip to content

Commit 1a52779

Browse files
committed
fix load path delimiter on windows
1 parent 56e4072 commit 1a52779

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/execute/julia.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,10 @@ async function startOrReuseJuliaServer(
258258
"using QuartoNotebookRunner",
259259
],
260260
env: {
261-
"JULIA_LOAD_PATH": "@:@stdlib", // ignore the main env
261+
// ignore the main env
262+
"JULIA_LOAD_PATH": Deno.build.os === "windows"
263+
? "@;@stdlib"
264+
: "@:@stdlib",
262265
},
263266
});
264267
const qnrTestProc = qnrTestCommand.spawn();
@@ -303,7 +306,7 @@ async function startOrReuseJuliaServer(
303306
"Hidden",
304307
],
305308
env: {
306-
"JULIA_LOAD_PATH": "@:@stdlib", // ignore the main env
309+
"JULIA_LOAD_PATH": "@;@stdlib", // ignore the main env
307310
},
308311
},
309312
);
@@ -325,6 +328,9 @@ async function startOrReuseJuliaServer(
325328
resourcePath("julia/quartonotebookrunner.jl"),
326329
transportFile,
327330
],
331+
env: {
332+
"JULIA_LOAD_PATH": "@:@stdlib", // ignore the main env
333+
},
328334
});
329335
trace(
330336
options,

0 commit comments

Comments
 (0)