Create an ARGS or commandLineARGs property in settings profile, separate from commandLine property #10854

Closed
opened 2026-01-31 02:32:02 +00:00 by claunia · 6 comments
Owner

Originally created by @brwilkinson on GitHub (Oct 1, 2020).

Description of the new feature/enhancement

Create an ARGS or commandLineARGs property in settings profile, separate from commandLine property

Example: If I want to run powershell from the store, I want to pass some args, however not hard code the pwsh.exe path, which would change frequently as the Store app was upgraded. However my args are static.

commandLineARGs

For backwards compatibility, perhaps combine the commandLineArgs with commandline for the implementation.

Originally created by @brwilkinson on GitHub (Oct 1, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> ### Description of the new feature/enhancement Create an ARGS or commandLineARGs property in settings profile, separate from commandLine property Example: If I want to run powershell from the store, I want to pass some args, however not hard code the pwsh.exe path, which would change frequently as the Store app was upgraded. However my args are static. ![commandLineARGs](https://user-images.githubusercontent.com/3605266/94850045-38c3a880-03db-11eb-94f7-fc7faaa53a36.png) For backwards compatibility, perhaps combine the commandLineArgs with commandline for the implementation.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 02:32:03 +00:00
Author
Owner

@brwilkinson commented on GitHub (Oct 2, 2020):

@WSLUser It doesn't look similar to this particular request, unless I am missing something ?

@brwilkinson commented on GitHub (Oct 2, 2020): @WSLUser It doesn't look similar to this particular request, unless I am missing something ?
Author
Owner

@DHowett commented on GitHub (Oct 2, 2020):

@brwilkinson sorry; @WSLUser may not have interpreted your request properly. I think this sounds a lot more like #5571--specifically https://github.com/microsoft/terminal/issues/5571#issuecomment-622186456. It has more to do with profiles than commands, and escape characters (????) won't help whatsoever and just seem like a term related to terminals.

@DHowett commented on GitHub (Oct 2, 2020): @brwilkinson sorry; @WSLUser may not have interpreted your request properly. I think this sounds a lot more like #5571--specifically https://github.com/microsoft/terminal/issues/5571#issuecomment-622186456. It has more to do with _profiles_ than _commands_, and escape characters (????) won't help whatsoever and just seem like a term related to terminals.
Author
Owner

@WSLUser commented on GitHub (Oct 2, 2020):

I've removed my comments. I still think it could be scripted out.

@WSLUser commented on GitHub (Oct 2, 2020): I've removed my comments. I still think it could be scripted out.
Author
Owner

@brwilkinson commented on GitHub (Oct 2, 2020):

@DHowett yes that is the one . . . specifically #issuecomment-622166445

image

@brwilkinson commented on GitHub (Oct 2, 2020): @DHowett yes that is the one . . . specifically #issuecomment-622166445 ![image](https://user-images.githubusercontent.com/3605266/94957325-69bae080-04a2-11eb-9560-d2879ecebd08.png)
Author
Owner

@DHowett commented on GitHub (Oct 2, 2020):

Thanks for confirming! I'll mark this one as a /duplicate of #5571 and link them up so we make sure we get this use case. 😄

@DHowett commented on GitHub (Oct 2, 2020): Thanks for confirming! I'll mark this one as a /duplicate of #5571 and link them up so we make sure we get this use case. :smile:
Author
Owner

@ghost commented on GitHub (Oct 2, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Oct 2, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10854