Canary can't verify the window first time Launch #22741

Open
opened 2026-01-31 08:22:09 +00:00 by claunia · 0 comments
Owner

Originally created by @CN-CODEGOD on GitHub (Jan 6, 2025).

Windows Terminal version

1.23.10011.0

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

i am looking at document for wt -w command and want to write a script to send multiple commands to a window

I want to launch command on the specific window with
& "f:\terminal-1.23.10011.0\wt.exe" -w foo -p "Python" ping baidu.com

When Launching as default profile ,and run command to the first Launching window,will not verify the windows
F:\terminal-1.23.10011.0\wt.exe -w 0 -p "Powershell"
& "f:\terminal-1.23.10011.0\wt.exe" -w 0 -p "Python" ping baidu.com
try different profile and different commandLine
F:\terminal-1.23.10011.0\wt.exe -w foo -p "Powershell"
& "f:\terminal-1.23.10011.0\wt.exe" -w foo -p "Python" ping baidu.com
still fail

Expected Behavior

The command should run in the Launching window

Actual Behavior

command run in the new window

note

i am using two version of wt
canary :1.23.10011.0
wt:1.22.3232.0
for what i know the two version work fine together ,i also try to Launch command to the 1.22.3232.0 version and still fail

Originally created by @CN-CODEGOD on GitHub (Jan 6, 2025). ### Windows Terminal version 1.23.10011.0 ### Windows build number 10.0.19045.0 ### Other Software _No response_ ### Steps to reproduce i am looking at [document](https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows) for wt -w command and want to write a script to send multiple commands to a window I want to launch command on the specific window with & "f:\terminal-1.23.10011.0\wt.exe" -w foo -p "Python" ping baidu.com When Launching as default profile ,and run command to the first Launching window,will not verify the windows F:\terminal-1.23.10011.0\wt.exe -w 0 -p "Powershell" & "f:\terminal-1.23.10011.0\wt.exe" -w 0 -p "Python" ping baidu.com try different profile and different commandLine F:\terminal-1.23.10011.0\wt.exe -w foo -p "Powershell" & "f:\terminal-1.23.10011.0\wt.exe" -w foo -p "Python" ping baidu.com still fail ### Expected Behavior The command should run in the Launching window ### Actual Behavior command run in the new window ### note i am using two version of wt canary :1.23.10011.0 wt:1.22.3232.0 for what i know the two version work fine together ,i also try to Launch command to the 1.22.3232.0 version and still fail
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:22:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22741