microsoft / microsoft/terminal
Terminal crashes when launched by `start /MAX`
Open
@lhecker is already working on this.
Since Sep 4, 2024.
Area-DefApp
Issue-Bug
Priority-2
Product-Terminal
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
Windows Terminal version
1.19.10821.0
Windows build number
10.0.22631.0
Other Software
No response
Steps to reproduce
Create the following batch file:
@echo off
REM restart maximized if not already
if not "%1" == "max" start /MAX cmd /c %0 max & exit /b
echo Beep boop
timeout /t 20
With all Terminal windows closed, double-click to execute the script.
Expected Behavior
Terminal window should open maximized and display the 20 second countdown.
Actual Behavior
You will see a terminal window pop up momentarily then exit, rather than waiting the 20 seconds.
Open a Terminal window in the background, then double-click to execute the script again. You will see a maximized terminal window pop up showing the countdown from 20 seconds (as expected).
Feedback Hub link: https://aka.ms/AAq7vl0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.