Stream: helpdesk (published)

Topic: Path to Project.toml file


view this post on Zulip Archie Call (Apr 24 2021 at 10:13):

If I execute Pkg.status() from a script running in Vscode, the output will show a status line and then detail information for each installed package.
In my case the Status shows visually Status C:\Users\Owner\.julia\environments\v1.6\Project.toml
In am having difficulty in getting the status line into a Julia variable that I can then process further.

Maybe there is some other command that will give the same full path to the current Project.toml file?

view this post on Zulip Fredrik Ekre (Apr 24 2021 at 10:26):

Base.active_project()

view this post on Zulip Archie Call (Apr 24 2021 at 10:50):

Just what I was looking for...Thanks


Last updated: Oct 02 2023 at 04:34 UTC