Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Commands with Powershell bitness #29

Open
mwhisler opened this issue Jan 24, 2019 · 2 comments
Open

Run Commands with Powershell bitness #29

mwhisler opened this issue Jan 24, 2019 · 2 comments

Comments

@mwhisler
Copy link

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.

@RobertMeh
Copy link

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

@mwhisler
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants