forked from Aider-AI/aider
-
Notifications
You must be signed in to change notification settings - Fork 36
--test-cmd is broken #439
Copy link
Copy link
Closed
Description
Issue
Simple test:
echo foo > test.txt
cecli --yes-always --test-cmd "true" --auto-test --message "change foo to bar" test.txt
For some reason it tries to run the cmd using my shell or something like that, I know that because it shows my PS prompt, but the command should be simply run as a command, not from a shell and even less from a "login mode shell", this leads also to issues making the feature broken:
And for some reason it detects that the test has failed (not listening to return status? only sees if there's a returned message? which on the second case is confused by my shell PS)
so instead of continuing ("true" returns no message and the successful exit status) it just try to fix the (non) errors in a loop
Note: this bug may affect too to --lint-cmd
Version and model info
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels