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).

贡献者指南