Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework sourcing #2

Open
fmauch opened this issue May 15, 2024 · 0 comments
Open

Rework sourcing #2

fmauch opened this issue May 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@fmauch
Copy link
Contributor

fmauch commented May 15, 2024

Sourcing workspaces is currently a bit annoying. Since sourcing lives in a bash script we need the fzirob wrapper to be rather complex. A lot of this functionality could be moved to python
so sourcing could be re-used from other scripts such as build and (future) test.

We could use a mechanism like running "bash -c 'source init_env > /dev/null 2>&1 && env'" in a subprocess and then read the variables from the output.

@fmauch fmauch added the enhancement New feature or request label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant