You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Executing \`using QuartoNotebookRunner\` failed with QUARTO_JULIA_PROJECT="${juliaProject}". Ensure that this project exists, has QuartoNotebookRunner installed and is instantiated correctly.`,
272
+
);
273
+
}
274
+
trace(
275
+
options,
276
+
`QuartoNotebookRunner could be loaded successfully.`,
277
+
);
278
+
}
243
279
244
280
// We need to spawn the julia server in its own process that can outlive quarto.
245
281
// Apparently, `run(detach(cmd))` in julia does not do that reliably on Windows,
@@ -260,7 +296,7 @@ async function startOrReuseJuliaServer(
260
296
// string array argument list, each element but the last must have a "," element after
261
297
"--startup-file=no",
262
298
",",
263
-
`--project=${juliaRuntimeDir()}`,
299
+
`--project=${juliaProject}`,
264
300
",",
265
301
resourcePath("julia/quartonotebookrunner.jl"),
266
302
",",
@@ -269,6 +305,9 @@ async function startOrReuseJuliaServer(
269
305
"-WindowStyle",
270
306
"Hidden",
271
307
],
308
+
env: {
309
+
"JULIA_LOAD_PATH": "@;@stdlib",// ignore the main env
310
+
},
272
311
},
273
312
);
274
313
trace(
@@ -285,10 +324,13 @@ async function startOrReuseJuliaServer(
0 commit comments