Stream: helpdesk (published)

Topic: ✔ Start process with unset project


view this post on Zulip Timothy (Mar 09 2023 at 12:01):

Timothy said:

I'm thinking of setting JULIA_LOAD_PATH to @v#.#:@stdlib then running push!(LOAD_PATH, "@") and set_active_project(<project>) might work.

This seems to work

view this post on Zulip Notification Bot (Mar 09 2023 at 12:01):

Timothy has marked this topic as resolved.

view this post on Zulip Fredrik Ekre (Mar 09 2023 at 12:07):

You might as well put the @ in the environment variable too then.

view this post on Zulip Timothy (Mar 09 2023 at 13:08):

It doesn't matter what the project/load-path is during julia startup?

view this post on Zulip Fredrik Ekre (Mar 09 2023 at 13:09):

No

view this post on Zulip Timothy (Mar 10 2023 at 03:37):

Oh good, that resolves some of my worries. I took note of this line in the environment variables docs:

JULIA_PROJECT must be defined before starting julia; defining it in startup.jl is too late in the startup process.

view this post on Zulip Fredrik Ekre (Mar 10 2023 at 08:37):

You are not using JULIA_PROJECT though.

view this post on Zulip Timothy (Mar 10 2023 at 12:40):

Mmm, I just took this to say the full effect of setting JULIA_PROJECT could not be simulated/applied after launching julia


Last updated: Oct 02 2023 at 04:34 UTC