“Couldn't find a file descriptor referring to the console” on Ubuntu bash on Windows

前端 未结 5 1066
你的背包
你的背包 2020-12-13 05:53

I\'m new in here and it\'s my first post.

I have a problem with Bash on Ubuntu on Windows. If I type \"open (filename)\" on Mac terminal, it opens the file with the

5条回答
  •  难免孤独
    2020-12-13 06:14

    Instead of open u can use xdg-open which does the same thing, independently of application i.e. pdf, image, etc. It will open a new virtual terminal (I have tried this on Linux)

    Example:

    xdg-open ~/Pictures/Wallpapers/myPic.jpg

    xdg-open ~/Docs/holidays.pdf

提交回复
热议问题