You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integrated powershell terminal says it cannot load PSReadline module #6684
*duplicateIssue identified as a duplicate of another issue(s)terminalGeneral terminal issues that don't fall under another labelwindowsVS Code on Windows issues
There is no %SystemRoot%\sysnative, %SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\powershell.exe however does exist but it still prints out the PSReadline warning.
*duplicateIssue identified as a duplicate of another issue(s)terminalGeneral terminal issues that don't fall under another labelwindowsVS Code on Windows issues
Activity
rebornix commentedon May 23, 2016
It's likely a ExecutionPolicy restriction issue (not quite sure), you can give cmder's default setting a try to see if it helps.
lzybkr commentedon May 23, 2016
Most likely PowerShell is running as a 32 bit process - PSReadline is not installed in Program Files (x86).
Tyriar commentedon May 24, 2016
Jason Shirk (@lzybkr) is
\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exethe correct executable?lzybkr commentedon May 24, 2016
Yes. See my stackoverflow answer if you want to run the 64 bit version of PowerShell:
http://stackoverflow.com/questions/19055924/how-to-launch-64-bit-powershell-from-32-bit-cmd-exe
Tyriar commentedon May 25, 2016
There is no
%SystemRoot%\sysnative,%SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\powershell.exehowever does exist but it still prints out the PSReadline warning.lzybkr commentedon May 26, 2016
If you try to load it explicitly
ipmo PSReadline, what is the error?gerane commentedon Jun 1, 2016
Daniel Imms (@Tyriar)
%SystemRoot%\sysnativeis a Redirect. It is how a 32bit process on a 64bit OS accesses%SystemRoot%\System32.If a 32bit process attempts to
%SystemRoot%\System32it is redirected to%SystemRoot%\SysWOW64\Tyriar commentedon Jun 7, 2016
Since powershell is no longer the default and the fix to this is to correctly specify the 64-bit powershell, I'm going to close this in favor of #7095