microsoft / microsoft/vscode

shellIntegration.executeCommand().read() stream yields no data for commands containing emoji on Windows/PowerShell

Open
#324,453 0 comments 0 reactions 1 assignee Claimed by @anthonykim1 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

**VS Code Version**: 1.104.1
**OS**: Windows 11 (x64)
**Shell**: PowerShell 7 (pwsh 7.x) via ConPTY

## Steps to Reproduce

In a VS Code extension, execute an emoji-containing command via shell integration:

```ts
const execution = terminal.shellIntegration!.executeCommand("echo '❌'")
const stream = execution.read()
for await (const chunk of stream) {
console.log(chunk) // ← never executes
}
console.log("done") // ← never reached

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.