Skip to content

Commit 0e2587f

Browse files
author
Eric Wheeler
committed
docs: add PowerShell command output issues to known issues
Document two critical PowerShell command execution issues: - Output buffering causing missing/truncated output - Duplicate command execution bug Include workarounds implemented in PR #1585 Signed-off-by: Eric Wheeler <[email protected]>
1 parent 96348ba commit 0e2587f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/troubleshooting/shell-integration.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,20 @@ There is a potential memory leak in the upstream shell integration that can caus
378378

379379
**Work-around:** there is no known workaround, but I do not hit this problem until gigabytes of terminal output, so it may not affect you.
380380

381+
### PowerShell Command Output Issues
382+
383+
PowerShell in Windows environments has two critical command execution issues:
384+
1. Output buffering: PowerShell may emit the ]633;D completion marker before command output is fully processed by VSCE, resulting in missing or truncated output
385+
2. Duplicate command bug: PowerShell fails to execute identical subsequent commands, treating them as duplicates even when they should run independently
386+
387+
These issues affect command execution reliability in Windows environments using PowerShell.
388+
389+
**Work-around:** Roo Code automatically handles both issues when [PR #1585](https://github.com/RooVetGit/Roo-Code/pull/1585) is merged by:
390+
- Adding a 150ms delay after command execution to ensure output capture
391+
- Appending a unique counter to each command to prevent duplicate command issues
392+
393+
See [#1585](https://github.com/RooVetGit/Roo-Code/pull/1585) for implementation details.
394+
381395
## Troubleshooting Resources
382396

383397
- [VSCode Terminal Output Issue #237208](https://github.com/microsoft/vscode/issues/237208): Tracking the incomplete terminal output capture issue (ongoing as of March 8, 2025)

0 commit comments

Comments
 (0)