2 ms·
Trying to run Cosmos apps from the Windows Terminal opens a pop-up saying "Select an app to open '<app>'". How can I execute them? I ended up finding a solutio
by davikr 3y ago
Trying to run Cosmos apps from the Windows Terminal opens a pop-up saying "Select an app to open '<app>'". How can I execute them?
I ended up finding a solution:
> If you want to run them on Windows, then you simply need to rename the file so that it has the .com suffix. Better yet, consider making that a symlink (a.k.a. reparse point).
- jart 3y agoWhat I like to do is configure Windows Terminal Preview so it launches `C:\bin\bash -l` as my command prompt. Once you're inside bash, it doesn't care about the .com or .exe suffix being there. Only CMD.EXE really cares about the suffix. So you have to simply rename the files if you want to run it there.