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
"JULIA_LOAD_PATH": "@:@stdlib",// ignore the main env
262
+
},
263
+
});
264
+
constqnrTestProc=qnrTestCommand.spawn();
265
+
constresult=awaitqnrTestProc.output();
266
+
if(!result.success){
267
+
throwError(
268
+
`Executing \`using QuartoNotebookRunner\` failed with QUARTO_JULIA_PROJECT="${juliaProject}". Ensure that this project exists, has QuartoNotebookRunner installed and is instantiated correctly.`,
269
+
);
270
+
}
271
+
trace(
272
+
options,
273
+
`QuartoNotebookRunner could be loaded successfully.`,
274
+
);
275
+
}
243
276
244
277
// We need to spawn the julia server in its own process that can outlive quarto.
245
278
// Apparently, `run(detach(cmd))` in julia does not do that reliably on Windows,
@@ -260,7 +293,7 @@ async function startOrReuseJuliaServer(
260
293
// string array argument list, each element but the last must have a "," element after
261
294
"--startup-file=no",
262
295
",",
263
-
`--project=${juliaRuntimeDir()}`,
296
+
`--project=${juliaProject}`,
264
297
",",
265
298
resourcePath("julia/quartonotebookrunner.jl"),
266
299
",",
@@ -269,6 +302,9 @@ async function startOrReuseJuliaServer(
269
302
"-WindowStyle",
270
303
"Hidden",
271
304
],
305
+
env: {
306
+
"JULIA_LOAD_PATH": "@:@stdlib",// ignore the main env
307
+
},
272
308
},
273
309
);
274
310
trace(
@@ -285,7 +321,7 @@ async function startOrReuseJuliaServer(
0 commit comments