Skip to content

Expand trap to cover more signals #142

@philipnickel

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions