Closed
Description
I'm connecting to a Windows 10 machine from a Linux host. Connection is successful, project is opened, terminal is working properly.
I'm using powershell 7 installed in Program Files.
However, if I launch any task, I'm getting the following error:
The terminal process failed to launch: A native exception occurred during launch (Unable to start terminal process: CreateProcess failed).
So far I tried following:
- changing the terminal.integrated.automationShell.windows setting. I tried "cmd", "pwsh", "powershell" and the full path to git bash, same result. I can tell the setting is applied because I can get "not found" error if I set the wrong path.
- setting default openssh shell to the same pwsh.exe that is used for tasks and terminal, didn't help.
I also tried changing terminal.integrated.profiles.windows and terminal.integrated.defaultProfile.windows but apparently they're irrelevant here.
Edit: I tried tasks with "shell", "process" and "gulp" types, none worked