Skip to content

[Bug]: Silent failure when wrapped binary is not installed #309

@smottt

Description

@smottt

Bug Description

Safe-Chain shims fail silently when the underlying target binary is not installed on the system. Instead of alerting the user that the required dependency is missing, the command executes and exits with no output, providing no indication of what went wrong.

Steps to Reproduce

  1. Ensure a specific binary (e.g., bun) is not installed on your system.
  2. Run the wrapped command: bun.
  3. Check the terminal output: The command exits immediately with no error message and no output.

With Safe-Chain activated:

% bun
%

Without Safe-Chain activated:

% bun
zsh: command not found: bun
%

Environment

  • OS: macOS 26.2
  • Shell: zsh
  • Safe Chain version: 1.4.2

Error Logs

Additional Context

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions