microsoft/PowerToys

CmdPal / Shell: Add the various run settings to the context menu

開放

#38,277 建立於 2025年3月31日

 (3 則留言) (0 個反應) (0 位負責人)C# (7,978 個分叉)batch import
CmdPal - ShellCmdPal-Inbox ExtensionsHelp WantedIssue-TaskProduct-Command Palette

倉庫指標

星標
 (133,154 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

originally filed by @joadoumie

Right now we have these options in the context menu:

image

We should add all of the run options that are present in the settings into the context menu too. Here are the options that are present in the settings:

image


Similarly, the opposite from @stacy-plat in #38768:

I am sure the feature is implemented as intended, but what is the point of invoking a shell command like ping , ipconfig, netstat, if the shell immediately closes.

A feature where > works as implemented and an additional >> would persist the shell window. And maybe q> would invoke command as unattended if the command entered supports unattended (no shell window at all).

貢獻者指南