Fix TerminalProcess output parsing #410
KJ7LNW
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This PR from cline could benefit Roo-Cline, but it does not yet merge cleanly. I am not familiar with Roo's changes so please review and see if it would be a good fit.
This drastically increases the command line output reliability. It also works around VSCode bug microsoft/vscode#237208
You can see as follows by providing these instructions:
Providing instruction above to Cline produces results like the following:
With fixes from that PR
Command Testing Results
Echo Command Tests
echo
vs/bin/echo
comparison-n
flag identicallyExit Code Tests
exit(0)
produced expected successexit(1)
produced expected error stateSignal Tests
Whitespace Handling
Unexpected Behaviors
Test Environment
Current Cline with terminal problems
Command Testing Results
Echo Command Analysis
echo hello
/bin/echo hello
echo -n hello
Exit Code Testing
perl -e 'exit(0)'
perl -e 'exit(1)'
perl -e 'exit(255)'
Signal Handling Analysis
perl -e 'kill TERM, $$'
perl -e 'kill INT, $$'
perl -e 'kill SEGV, $$'
Terminal Behavior Patterns
Beta Was this translation helpful? Give feedback.
All reactions