mirror of
https://github.com/mirkobrombin/raven.git
synced 2026-11-05 21:56:33 +00:00
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