PowerToys: [Run][Shell plugin] Add setting or action char to don't close command prompt after

Summary of the new feature/enhancement

If I execute ipconfig via PowerToys Run > ipconfig the command window close itself directly after executing. But the ipconfig output has to stay open, so that I can read them.

We need a setting and/or character to tell the shell plugin to not close the window after executing the command.

Proposed technical implementation details (optional)

Character >> ipconfig

Setting [ ] Don’t close the shell window after executing the command

Requires https://github.com/microsoft/PowerToys/issues/5273 to be done first.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 14
  • Comments: 17 (6 by maintainers)

Most upvoted comments

I think 99% of the time I run a command in the shell I want to see the output. This should be default.

@crutkas Should we mark this as help wanted?

@alannt777 explaining that an issue can be upvoted with a reaction is useful, downvoting it is not.

Currently, Whenever I want to see the output of a command like ipconfig, I do something like this > cmd /k ipconfig (or > cmd /c ipconfig & pause ). Also, there is an issue with commands, which take little longer to execute that they don’t get executed at all (like adb connect <host> in my case, sometimes), so have to do something like this > cmd /c adb connect <host> which terminates console after completing command as supposed (current behavior doesn’t wait much!). But yeah there should be a cleaner way to do these things added by default.