Skip to content

Two windows are opened when using "--startingDirectory" option while no other wt instances are opened #18566

Open
@Video-Nomad

Description

@Video-Nomad

Windows Terminal version

1.23.10353.0

Windows build number

10.0.26100.0

Other Software

cmd
(and any software that can execute "wt -d ..." command)

Steps to reproduce

  1. Have NO Windows Terminal instances opened
  2. open cmd
  3. type: wt -d "C:\" or any other location

Expected Behavior

If no Windows Terminal instances exist Windows Terminal opens a single window with the working directory specified in "-d" option.

Actual Behavior

If no Windows Terminal instances exist Windows Terminal opens two windows, one is the default working directory (%USERPROFILE% in my case) and one with actual "-d" specified directory.

explorer_BDVqRTMZkk.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-AttentionThe core contributors need to come back around and look at this ASAP.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions