Providing command-line arguments to a profile makes the terminal crash #13083

Open
opened 2026-01-31 03:33:24 +00:00 by claunia · 0 comments
Owner

Originally created by @ClementNerma on GitHub (Mar 18, 2021).

Environment

Windows build number: 19042.868
Windows Terminal version (if applicable): 1.7.572.0

Steps to reproduce

wt -p "PowerShell" # Works

wt -p "PowerShell" pause # Closes immediatly
wt -p "PowerShell" -- pause # Same
wt -p "PowerShell" "-- pause" # Same

Expected behavior

The pause command provided to PowerShell should be executed normally, according to the documentation.

Actual behavior

The window closes immediatly if an additional argument is provided to the selected profile.

Originally created by @ClementNerma on GitHub (Mar 18, 2021). # Environment ```none Windows build number: 19042.868 Windows Terminal version (if applicable): 1.7.572.0 ``` # Steps to reproduce ```bash wt -p "PowerShell" # Works wt -p "PowerShell" pause # Closes immediatly wt -p "PowerShell" -- pause # Same wt -p "PowerShell" "-- pause" # Same ``` # Expected behavior The `pause` command provided to PowerShell should be executed normally, according to the documentation. # Actual behavior The window closes immediatly if an additional argument is provided to the selected profile.
claunia added the Resolution-Duplicate label 2026-01-31 03:33:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13083