microsoft/PowerToys

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

Open

#38,277 创建于 2025年3月31日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)C# (7,978 fork)batch import
CmdPal - ShellCmdPal-Inbox ExtensionsHelp WantedIssue-TaskProduct-Command Palette

仓库指标

Star
 (133,154 star)
PR 合并指标
 (平均合并 14天 20小时) (30 天内合并 117 个 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).

贡献者指南