CommandTaskRunner icon indicating copy to clipboard operation
CommandTaskRunner copied to clipboard

Run Commands with Powershell bitness

Open mwhisler opened this issue 6 years ago • 2 comments

I noticed that when I run a powershell command, it automatically runs as x86. Is there a way to force task runner to use 64bit instead? I've tried a few things, but nothing seems to be working.

mwhisler avatar Jan 24 '19 22:01 mwhisler

I had the same problem and solved it with help of: stackoverflow how-to-launch-64-bit-powershell-from-32-bit

In your commands.json replace "powershell.exe" with "C:\\Windows\\SysNative\\WindowsPowerShell\\v1.0\\powershell.exe"

that's all

RobertMeh avatar Mar 16 '19 11:03 RobertMeh

Thanks @RobertMeh, I ended up doing the same thing with SysNative. Thanks for putting a solution here because I forgot to go back and update this.

mwhisler avatar Mar 21 '19 18:03 mwhisler