Can't use bat file as shell path
Hi,
using e.g., "ceedlingExplorer.shellPath": "ceedling_shell.bat" doesn't seem to call that script at all. Under Testing the extension doesn't show up. Changing it to ceedling_shell does invoke the commnd and an error is given: 2024-11-18 11:21:21.773 [error] Ceedling failed to run in the configured shell. Please check the ceedlingExplorer.shellPath option.
Any hints?
Version: 1.95.3 (user setup) Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813 Date: 2024-11-13T14:50:04.152Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.19045
Hello,
I'm facing the same issue. I want to run Ceedling in WSL using Docker. I read in other issues that someone managed to solve this by using a .bat file.
I'm able to run the following successfully from the command line:
C:\WINDOWS\System32\wsl.exe ceedling
However, the VS Code extension doesn't work. I believe it's because the extension calls the shell path with -c, which causes issues.
I also tried wrapping the call in a .bat file like this:
call "C:\WINDOWS\System32\wsl.exe" ceedling %2
…but that didn't work either.
Error message vscode:
if i use:
Does anyone have any tips or working examples for getting the extension to run Ceedling in WSL?
Thanks in advance!
Edit: I think the spawn EINVAL comes from our anti virus