Commit 8b42c16
committed
Fixes #4746: Prevent PowerShell commands from hanging indefinitely
- Improved PowerShell command construction to use try-finally blocks for better completion handling
- Added timeout mechanism for PowerShell commands to prevent indefinite waiting
- Fixed variable scoping issue in TerminalProcess.ts
- Enhanced error handling for PowerShell sleep commands
The issue was caused by PowerShell commands with sleep delays not properly signaling completion to VSCode's shell integration, causing the extension to wait indefinitely for user input.1 parent 2e2f83b commit 8b42c16
File tree
2 files changed
+755
-7
lines changed- src/integrations/terminal
2 files changed
+755
-7
lines changed
0 commit comments