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

Arch.exe closes when you use run argument #75

Closed
jfernandz opened this issue May 10, 2020 · 1 comment
Closed

Arch.exe closes when you use run argument #75

jfernandz opened this issue May 10, 2020 · 1 comment

Comments

@jfernandz
Copy link

Describe the issue
I'm not sure if it is a bug but also I would like to ask about it.

When you use Arch.exe run "echo 'hello'" the Arch Linux instance is closed. I would like to prevent this closing because I'd like to do something like

Arch.exe run "termite & && disown (pgrep termite) && exit"

That way I'd be starting directly my favorite terminal into my xming instace but keeping the Arch Linux instance running in background.

To Reproduce
Using the run argument for Arch.exe produces an unexpected closure (in my opinion)

Expected behavior
I'd like to run a particular command but not closing Arch.exe after that execution.

Screenshots
image

Enviroment:

  • Windows build number: 10.0.18363.778
  • Security Software: Windows Defender
  • WSL version 1/2: I don't know because wsl -l -v just shows the same than wsl --help so I guess the WSL1
  • ArchWSL version 20.4.3.0
  • ArchWSL Installer type zip/appx/other clean/update I'd say via appx but I don't remember right now
  • Launcher version wsldl, version 20040300

Additional context
Maybe this is an intenctional/wanted behaviour, but I would like at least to know how to prevent that closure.

@jfernandz jfernandz changed the title Arch.exe it closes when you use run argument Arch.exe closes when you use run argument May 10, 2020
@yuk7 yuk7 transferred this issue from yuk7/ArchWSL Nov 11, 2020
@yuk7 yuk7 added the wontfix label Nov 25, 2020
@yuk7 yuk7 closed this as completed Nov 25, 2020
@yuk7
Copy link
Owner

yuk7 commented Nov 25, 2020

This issue will not be fixed.

You can prevent the close by devising the command line.
e.g.

Arch.exe run "echo 'hello';bash"

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

No branches or pull requests

2 participants