Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ unsigned int PowerShellCoreClrWorker::LaunchClr(
_In_ LPCWSTR wszRuntimeVersion,
_In_ LPCSTR friendlyName)
{
// Allocate a console so that the codepage is setup correctly
AllocConsole();
return commonLib->LaunchCoreCLR(hostWrapper, hostEnvironment, friendlyName);
}

Expand Down