Replies: 6 comments
-
How exactly did you install the Terminal to set up those aliases / shortcuts / whatever those are? Is there any elevation (running as admin) involved? (thinking of #9628) How did you initially launch each of |
Beta Was this translation helpful? Give feedback.
-
I just unzipped them to the appropriate places. The aliases come from the registry's AppPaths key (set up by me and checked by shell). Yes, elevation is involved. [Does that matter to the In the experiments in my last post, wtp was run with the command line When either is started from Explorer (Run as Administrator), it exhibits the new instance behavior. When either is started from Explorer (not elevated), it exhibits the same instance/new tab behavior. The oddball seems to be the first of my two original experiments where wt was running elevated but I got the same instance/new tab behavior. |
Beta Was this translation helpful? Give feedback.
-
P.S., I rarely run wt. I mention it to point out a difference in behavior. What I really want is the same instance/new tab behavior from an elevated wtp. |
Beta Was this translation helpful? Give feedback.
-
And I can get that behavior (in a rather bizarre fashion, and without the scheduled task business) ... start d:\wtp\exe\windowsterminal.exe elevated from explorer (right-click, Run as admin, get instance 1). In this instance, Back in instance 1, issue Whether or not I close instance 1 , in instance 2, I'm sorry it's complicated. I'll bet there's ultimately something simple going on. |
Beta Was this translation helpful? Give feedback.
-
Here are two pics of that last experiment. First, the original wtp (in back), having issued Second, the same after issuing See that |
Beta Was this translation helpful? Give feedback.
-
This may be just a rehash of previous observations. There are several ways to start wt elevated where the started instance opens yet another instance when a shell running in it executes
There's one (rather general) way to start wt elevated where the started instance opens a new tab when a shell running in it executes
|
Beta Was this translation helpful? Give feedback.
-
WindowsTerminal 1.17.2305.26001
WindowsTerminal 1.18.2305.26002 (preview)
I have these (found via AppPaths).
When wt is running, the command
wt -w 0 nt
, issued in a shell in the running instance, creates a new tab in the running instance.When wtp is running, the command
wtp -w 0 nt
, issued in a shell in the running instance, creates a new instance of wtp.What's going on there? If that's WAD, how do I get a new tab in the current instance of wtp, with a wtp command line?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions