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

[Questions] Hidden Profiles and Current Session Control? #5926

Closed
mascalia opened this issue May 15, 2020 · 2 comments
Closed

[Questions] Hidden Profiles and Current Session Control? #5926

mascalia opened this issue May 15, 2020 · 2 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@mascalia
Copy link

Sorry for being a noob (to WT, not to Powershell), but can someone help me out with a few questions?

  1. How, exactly, do you access hidden profiles in WT command-line? They don't show up in the drop-down (naturally, which is what I want), but I'd like to be able to spawn them when starting WT with a command-line argument (-p and --profile don't work, they only cause the default profile to come up).

  2. If you start terminal with Powershell, is there any way to control the WT session from within the session? For example, if I start with a bog-standard Powershell profile, is there any way within that session to split the pane and start a new powershell script?

The goal with Q2 is to avoid having to write a set of chained command-line WT arguments, and instead simply start a profile and then run a .ps1 script that will configure the running profile however I want.

Thanks in advance for any help.

@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 15, 2020
@mascalia mascalia changed the title Questions about Windows Terminal... [Questions] Hidden Profiles and Current Session Control? May 15, 2020
@DHowett-MSFT
Copy link
Contributor

Hey, thanks for asking! These aren't "noob" questions by any means. These are the ones with somewhat complicated answers 😄

  1. Right now, {profile}.hidden is a bit of a misnomer. Hidden profiles are actually, uh, deleted. They're ex-profiles. They've joined the choir invisible. We have hidden profiles are deleted, not hidden #4139 tracking fixing that.
  2. WT doesn't support any sort of "remote control" mechanism right now, but we're tracking that in Add support for wt.exe to run commands in an existing Terminal Window #4472. We're putting together our thoughts on a multiprocess model and how we'll handle IPC to make sure we're making the right call here.

Right now, the go-to solution for having Terminal start up the way you want is to make a shortcut to wt.exe with the args you want. It's not ideal, but it may suffice for now. 😄

/dup #4139 #4472.

@ghost
Copy link

ghost commented May 15, 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 ghost closed this as completed May 15, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed 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 15, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants