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

Custom shell's arguments in 'Shell' system plugin #2637

Open
FloatStream opened this issue Apr 7, 2024 · 0 comments
Open

Custom shell's arguments in 'Shell' system plugin #2637

FloatStream opened this issue Apr 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@FloatStream
Copy link

Is your feature request related to a problem? Please describe.

At present, Shell plugin can choose to use 'cmd', 'powershell', 'pwsh', or 'runcommand' (I am not sure what API this is). I would like to add an option that allows me to call cmd, powershell or pwsh with custom parameters and then run my command.

The main reason is that my pwsh configuration file sometimes takes about 1 second, and I use the flow plugin to quickly open a shell and run some commands, so I don't want to load the configuration file (pwsh/powershell can add the -nop option to not load the configuration).

Describe the solution you'd like

  1. Add an option such as CustomShell to allow users to add a line of commands to call the shell.
  2. Add a place to add custom parameters after the existing cmd, powershell, or pwsh options.

Here is a possible look
image

Describe alternatives you've considered

Although not adding this feature does not affect normal use, sometimes the experience may be worse.

Addition

If a developer has implemented this feature, I would greatly appreciate it. I'm very sorry that I don't know how to write C#, so I can't implement it by myself.

@FloatStream FloatStream added the enhancement New feature or request label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant