Skip to content

Expand trap to cover more signals #142

Description

@philipnickel

File: Core/Conda/install/install_macOS.sh:28-29

The current trap 'rm -rf "$TMPDIR_PATH"' EXIT only fires on normal exit. Confirm what signals should be caught (INT, TERM, HUP) so the temp directory is cleaned up on Ctrl-C or terminal disconnect. Note: SIGKILL cannot be trapped by design — document that caveat. Consider trap 'rm -rf "$TMPDIR_PATH"' EXIT INT TERM HUP.

Nick > "This will fail, why? ;) Likely we should also add SIGKILL, SIGINT"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions