3 ms·
The interop is pretty good, I don't have cowsay on Windows and I don't have node in wsl, but this still works: C:\Users\Ryan>wsl cowsay hello _______
by echeese 7y ago
The interop is pretty good, I don't have cowsay on Windows and I don't have node in wsl, but this still works:
C:\Users\Ryan>wsl cowsay hello
_______
< hello >
-------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
C:\Users\Ryan>wsl
ryan@DESKTOP:/mnt/c/Users/Ryan$ notepad.exe test.js
ryan@DESKTOP:/mnt/c/Users/Ryan$ node.exe test.js
hello, world!
- YeGoblynQueenne 7y agoDo you need to do something special for "wsl" to send a command to wsl? I only get an error on my win 10 machine (that "wsl" is not a known command/let).
- echeese 7y agoDo you have WSL installed? It's not part of Windows by default (at least not since I checked)
- YeGoblynQueenne 7y agoYes, it's enabled- I can use bash and all.
- echeese 7y agoNo idea - sorry!
- YeGoblynQueenne 7y agoNo worries -thanks for replying :)