We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AllocConsole
1 parent 95a52ab commit e1cff37Copy full SHA for e1cff37
src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp
@@ -37,6 +37,8 @@ unsigned int PowerShellCoreClrWorker::LaunchClr(
37
_In_ LPCWSTR wszRuntimeVersion,
38
_In_ LPCSTR friendlyName)
39
{
40
+ // Allocate a console so that the codepage is setup correctly
41
+ AllocConsole();
42
return commonLib->LaunchCoreCLR(hostWrapper, hostEnvironment, friendlyName);
43
}
44
0 commit comments