I'm trying to write a pretty simple program -- test.bat. This, of course, will be executed within command.exe in Windows. I would like for this program to start Firefox in Ubuntu but also leave the terminal with Ubuntu running.
I've tried the following lines in the batch file:
ubuntu -c firefox
ubuntu /c firefox
ubuntu echo firefox
ubuntu firefox
ubuntu | firefox
... but none of these commands are launching Firefox. Why?
In other words, I'd like to:
- Create batch file on the Windows Desktop
- Be able to double-click the batch file to run
command.exewill run the batch file- The batch file will run Ubuntu in WSL
- The batch file will open Firefox within Ubuntu
How do I pass the proper arguments to the ubuntu command to do this?