[BUG] Sandbox - process substitution doesn't work with sandbox restrictions
Resolved 💬 2 comments Opened Feb 9, 2026 by igor-makarov Closed Mar 10, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
It's similar to #16306 but I thought it needed a more concise description.
Claude tends to use process substitution a lot.
But these are ultimately incompatible with the sandbox, since the file descriptors used are blocked.
What Should Happen?
Process substitution working
Error Messages/Logs
⏺ Bash(diff <(echo -e "a\nb\nc") <(echo -e "a\nx\nc"))
⎿ Error: Exit code 2
diff: /dev/fd/11: Operation not permitted
Steps to Reproduce
Ask Claude:
❯ can you run an example of Process substitution?
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.37 (Claude Code)
Platform
Other
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗