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

Command line spec/override for closeOnExit #10019

Open
vefatica opened this issue May 2, 2021 · 2 comments
Open

Command line spec/override for closeOnExit #10019

vefatica opened this issue May 2, 2021 · 2 comments
Labels
Area-Commandline wt.exe's commandline arguments Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Milestone

Comments

@vefatica
Copy link

vefatica commented May 2, 2021

The ability to specify the closeOnExit behavior would be even more useful if it could be specified on the command line. It would then not be limited to profiles and could even be used to override a profile's setting.

Taking a cue from CMD's /C and /K, you might use -c (close the tab/pane) and -k (keep the tab/pane)

@vefatica vefatica added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label May 2, 2021
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 2, 2021
@KalleOlaviNiemitalo
Copy link

Git uses -c name=value for overriding configuration files. Windows Terminal could perhaps support -c closeOnExit=graceful likewise. However, it might lead to ambiguity if some setting allows both the Boolean true and the string "true" in JSON. Also, it would be more tedious to type than a dedicated option (especially if the name is case-sensitive), although that would matter less in scripting.

@zadjii-msft
Copy link
Member

Yea, sure we can toss this on the backlog.

Sure starting to seem like we should have commandline switches for everything in a profile 😄

@zadjii-msft zadjii-msft added Area-Commandline wt.exe's commandline arguments Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. labels May 3, 2021
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label May 3, 2021
@zadjii-msft zadjii-msft added this to the Terminal Backlog milestone May 3, 2021
@DHowett DHowett removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label May 13, 2021
@DHowett DHowett modified the milestones: Terminal Backlog, Icebox ❄ May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Commandline wt.exe's commandline arguments Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

4 participants