Skip to content

New tab doesn't inherit working directory for -d #18604

@QuAzI

Description

@QuAzI

Windows Terminal version

1.22.10352.0

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

Press Win+R
Execute wt -d c:\Projects to specify the folder that should be used as the starting directory for the console (according to documentation)
Open a new tab

Expected Behavior

For cases when wt -d used target directory should be inherited properly for new tabs and should be equal as the starting directory specified on console run

Actual Behavior

Currently, the path is C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.22.10352.0_x64__8wekyb3d8bbwe> instead of what you chose as the starting directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-RemotingCommunication layer between windows. Often for windowing behavior, quake mode, etc.Area-WindowingWindow frame, quake mode, tearoutIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-3A description (P3)Product-TerminalThe new Windows Terminal.

    Type

    Projects

    Status

    Rejected

    Status

    To Cherry Pick

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions