Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open file in non-block mode #1115

Closed
woshiZS opened this issue Mar 13, 2021 · 2 comments
Closed

open file in non-block mode #1115

woshiZS opened this issue Mar 13, 2021 · 2 comments

Comments

@woshiZS
Copy link

woshiZS commented Mar 13, 2021

[Enter feedback here]
I am new to wsl, and I want to open markdown file directly in my wsl, so I append

alias typora = '$myPathtToTypora/typora.exe'

in my .bashrc file.
But I find that as long as you open md file in wsl, you can't enter other shell commands cause that shell is blocked(I guess).
After I closed the md file, it is okay for me to enter commands again.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: e1281696-20d8-9bf7-5b7b-0a1d85a0190f
  • Version Independent ID: 760f023a-2f59-a18f-d69a-44331c72e30d
  • Content: File Permissions
  • Content Source: WSL/file-permissions.md
  • Product: dev-environment
  • Technology: windows-subsystem-for-linux
  • GitHub Login: @craigloewen-msft
  • Microsoft Alias: crloewen
@craigloewen-msft
Copy link
Collaborator

This is working as expected. If you run GUI applications in Linux from the command line (Like nautilus for example) in general they keep the file handle open in your Terminal Window.

If you'd like to change it, I'd recommend changing your alias to be:
alias typora = '$myPathToTypora/typora.exe &'

This will make it run in the background and free up your shell for you :)

@woshiZS
Copy link
Author

woshiZS commented Mar 18, 2021

thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants