core-agent-ide/codex-rs/shell-command/src
Dylan Hurd cc8c293378
fix(exec-policy) No empty command lists (#11397)
## Summary
This should rarely, if ever, happen in practice. But regardless, we
should never provide an empty list of `commands` to ExecPolicy. This PR
is almost entirely adding test around these cases.

## Testing
- [x] Adds a bunch of unit tests for this
2026-02-10 19:22:23 -08:00
..
command_safety chore: rename codex-command to codex-shell-command (#11378) 2026-02-10 17:03:46 -08:00
bash.rs fix(exec-policy) No empty command lists (#11397) 2026-02-10 19:22:23 -08:00
lib.rs chore: rename codex-command to codex-shell-command (#11378) 2026-02-10 17:03:46 -08:00
parse_command.rs chore: rename codex-command to codex-shell-command (#11378) 2026-02-10 17:03:46 -08:00
powershell.rs chore: rename codex-command to codex-shell-command (#11378) 2026-02-10 17:03:46 -08:00
shell_detect.rs chore: rename codex-command to codex-shell-command (#11378) 2026-02-10 17:03:46 -08:00