Closed prateek-khandelwal closed 7 years ago
C:\\Program Files (x86)\\Microsoft VS Code\\bin\\Code
is a shell script. A cygwin program can execute it, but not a native windows application like ocaml-env-win
.
try it with
ocaml-env-win -- bash "C:\Program Files (x86)\Microsoft VS Code\bin\Code"
Or even better just use:
ocaml-env-win -- "C:\Program Files (x86)\Microsoft VS Code\Code.exe"
Thanks !
I also noticed that if I simply call code
from the terminal, the integrated terminal in VS code borrows the environment settings, that is I can call the compiler directly.
Hi,
I have followed the installation steps and have got the cygwin terminal setup. Infact, I am able to execute opam and install packages too. However, I am facing issue with using the
ocaml-env
andocaml-win-env
commands. Whenever I execute these to launch a VSCode, the error message suggests that it is not able to locate the executable. However, I am able to launch VSCode from within cygwin terminal perfectly fine.Can you please suggest what I need to do ? The error message I am observing is this:
And providing the Windows-style path gives me this:
Thanks.