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

PowerToys Run Shell should support using wsl.exe as the default shell #30620

Open
michaelmdresser opened this issue Dec 27, 2023 · 3 comments
Open
Labels
Idea-Enhancement New feature or request on an existing product Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-PowerToys Run Improved app launch PT Run (Win+R) Window Run-Plugin Things that relate with PowerToys Run's plugin interface

Comments

@michaelmdresser
Copy link

Description of the new feature / enhancement

The "Command execution" dropdown for the Shell plugin should support an option like "Run in WSL (wsl.exe) using Windows Terminal":

image

Scenario when this would be used?

I have scripts that run in WSL that I would like to be able to easily call via PowerToys Run's Shell plugin. Today, if I want to use PT Run for this, the key sequence is roughly:

  1. alt+space
  2. >wsl
  3. enter to open terminal
  4. script name
  5. enter to run script
  6. exit to leave wsl.exe
  7. enter (or exit if "Keep shell open") to close terminal

I would like for it to be like this:

  1. alt+space
  2. >script name
  3. enter to run script
  4. optional: enter/exit to close terminal if kept open

Supporting information

Related issues which I found:

@michaelmdresser michaelmdresser added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Dec 27, 2023
@htcfreek htcfreek added Idea-Enhancement New feature or request on an existing product Product-PowerToys Run Improved app launch PT Run (Win+R) Window Run-Plugin Things that relate with PowerToys Run's plugin interface labels Dec 27, 2023
@htcfreek
Copy link
Collaborator

htcfreek commented Dec 27, 2023

@michaelmdresser
Would #28889 or #29222 help here?

@michaelmdresser
Copy link
Author

#29222 would definitely help, I almost linked it but I decided that this issue is a sufficiently-different request to stay independent. #29222 is basically a workaround for this issue because the other terminal program I use supports launching WSL by default.

#28889 might also help, but I'm unfamiliar with WT profiles -- my WT opens WSL by default but this doesn't seem to carry through when WT is opened by PowerToys Run Shell. That leads me to believe #28889 isn't what I'm looking for, but I could be wrong.

@htcfreek
Copy link
Collaborator

I will keep this here open. The implementation ofvthe other two I mentioned will need some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-PowerToys Run Improved app launch PT Run (Win+R) Window Run-Plugin Things that relate with PowerToys Run's plugin interface
Projects
None yet
Development

No branches or pull requests

2 participants