Files
raven/testdata
Raymond Bennett 0b69b080a5 fix: let cmd redirections open and copy handles 3 to 9
3>log.txt opened nothing and 1>&3 was ignored, so output meant for a log went to the console, and the usual swap
3>&1 1>&2 2>&3 left the handles as they were. Handles 3 to 9 now live beside the standard three: a redirection opens
them, n>&m copies whichever one m is at that point, and copying a handle that nothing opened fails the command with
the message cmd gives. Programs started from cmd still get only the standard three.

Assisted-by: Claude Code:claude-opus-5-5
AI-Scope: the cmd.c change, the cmd_client test lines and the README sentence
2026-10-28 14:11:13 -04:00
..