I'm trying to launch Atom text editor from my WSL bash.exe. I found this manual
And did exactly as it advises, but it doesn't work. I also find in .bashrc file this comment:
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
Then I created file .bash_aliases and added this command in it
alias atom=’/mnt/c/Windows/System32/cmd.exe /c “atom”’
In both cases the call of the atom
alias produces this output:
grep: /etc/wsl.conf: No such file or directory
net.js:200
this._handle.open(options.fd);
^
Error: EINVAL: invalid argument, uv_pipe_open
at new Socket (net.js:200:18)
at createWritableStdioStream (internal/process/stdio.js:164:16)
at process.getStdout [as stdout] (internal/process/stdio.js:14:14)
at console.js:246:38
at NativeModule.compile (bootstrap_node.js:596:7)
at Function.NativeModule.require (bootstrap_node.js:541:18)
at setupGlobalConsole (bootstrap_node.js:310:41)
at startup (bootstrap_node.js:70:7)
at bootstrap_node.js:608:3
0 Answers