Skip to content

Conversation

@DavidFair
Copy link
Collaborator

As we run the shell script bootstrap.sh in a dedicated bash process and vars that we export also die with the process getting reaped. Because we also "set -euo pipefail" in bootstrap we cannot get the user to "source" the env, else any failing command from that point will close their session.

Update the docs to manually get the user to run source set-env.sh, and drop setting exit on pipefail to avoid killing the user's session.

Accompanying diff for our docs: https://stfc.atlassian.net/wiki/pages/diffpagesbyversion.action?pageId=211878034&selectedPageVersions=64&selectedPageVersions=65

As we run the shell script bootstrap.sh in a dedicated bash process and
vars that we export also die with the process getting reaped. Because we
also "set -euo pipefail" in bootstrap we cannot get the user to "source"
the env, else any failing command from that point will close their
session.

Update the docs to manually get the user to run `source set-env.sh`, and
drop setting exit on pipefail to avoid killing the user's session.
@DavidFair DavidFair added the bug Something isn't working label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants