Unable to print on windows #72374
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
A simple print statement does not produce the desired text in the console on windows.
![image](https://private-user-images.githubusercontent.com/3767092/313406645-fe56e7a0-3f17-4d3e-b101-6c37084b9564.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1ODcxODcsIm5iZiI6MTcyMTU4Njg4NywicGF0aCI6Ii8zNzY3MDkyLzMxMzQwNjY0NS1mZTU2ZTdhMC0zZjE3LTRkM2UtYjEwMS02YzM3MDg0Yjk1NjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjFUMTgzNDQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDI4MmE2NGE2YWE5MWQ4MjlkMWRiZTJiNzhmNzk3YjhiNTcxMzkyZmFmNGNmMTVkNmFkZTFmMmQ0NmQyMTg4NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Ct5Btsqv4CeIOFhY55Rhxqcq5IlM-cDliyTMOT2eNtI)
Output:
Reproduction
swift package init --type executable
Expected behavior
Should print "Hello, world!" to the console.
Environment
OS: Windows 11
swift version: 5.10
vscode version: 1.87.2
swift extension version: 1.8.1
lldb version: 16.0.0git
Additional information
related issue:
swiftlang/vscode-swift#723
The text was updated successfully, but these errors were encountered: