Skip to content

Even more precautionary bash settings - #377

Merged
grst merged 2 commits into
mainfrom
grst/pipefail
Apr 1, 2025
Merged

grst merged 2 commits into
mainfrom
grst/pipefail

Conversation

@grst

@grst grst commented Mar 31, 2025

Copy link
Copy Markdown
Collaborator

To follow up on #373 (comment)

@grst
grst requested review from Copilot and flying-sheep March 31, 2025 18:33

This comment was marked as resolved.

@github-actions

Copy link
Copy Markdown

A PR has been generated to the instance repo:
scverse/cookiecutter-scverse-instance#188

You can check out the PR to preview your changes
in an instance of the cookiecutter template. The PR will be kept in sync with
this PR automatically.

@flying-sheep

flying-sheep commented Apr 1, 2025 •

Copy link
Copy Markdown
Member

Sure. In the end, bash is simply not possible to isolate against silent failure though.

E.g. somevar=$(some-command) can still fail silently even with -euo pipefail, one would have to use some-command | read -r somevar.

This was referenced Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants