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
Copy file name to clipboardExpand all lines: docs/computations/julia.qmd
+144-4Lines changed: 144 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -333,6 +333,150 @@ The currently available options are:
333
333
- `exeflags`: An array of strings which are appended to the `julia` command that starts the worker process. For example, a notebook is run with `--project=@.` by default (the environment in the directory where the notebook is stored) but this could be overridden by setting `exeflags: ["--project=/some/directory/"]`.
334
334
- `env`: An array of strings where each string specifies one environment variable that is passed to the worker process. For example, `env: ["SOMEVAR=SOMEVALUE"]`.
335
335
336
+
### `quarto call engine julia` commands
337
+
338
+
Starting with Quarto 1.7, The julia engine offers CLI commands for configuration and monitoring via the `quarto call engine julia` entrypoint.
339
+
340
+
#### `status`
341
+
342
+
The `status` command prints out information about the currently running server process as well as potential worker processes. For example:
$ quarto call engine julia close /Users/username/notebook.qmd
394
+
Worker closed successfully.
395
+
```
396
+
397
+
To force a busy worker to close, for example if it's stuck in an endless loop or because a computation is taking too long, the `--force` flag can be added.
398
+
Using this flag means losing all the work that the worker process has done so far.
399
+
At the next run, the worker process will have to be started from scratch and all packages loaded again:
The `kill` command shuts the server process down forcefully. This command is intended as a last resort when the server is in a bad state and unresponsive. Note that all worker processes will be killed as well, so you will lose all progress.
475
+
476
+
#### `log`
477
+
478
+
The `log` command prints the output of the internal log file of the server process. If the server process fails to start or unexpectedly quits, this log file might contain useful information.
479
+
336
480
### `juliaup` integration
337
481
338
482
[`juliaup`](https://github.com/JuliaLang/juliaup) is the recommended way to
@@ -474,7 +618,3 @@ packages that wish to extend the functionality of notebooks in other ways.
474
618
Please direct questions and requests regarding this functionality to the
Currently, the `engine: julia` option must be specified in each `.qmd` file. Setting the engine project-wide via `_quarto.yml` [is not yet supported](https://github.com/quarto-dev/quarto-cli/issues/3157).
0 commit comments