microsoft / microsoft/terminal
Crash when creating two tabs from within a batch script launched in the same terminal window
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version (or Windows build number)
1.8.1444
### Other Software
_No response_
### Steps to reproduce
Crash when creating two tabs from within a batch script launched in the same terminal window.
Create the following files.
test1.bat:
```
wt -w test -d . -p "Command Prompt" test2.bat
```
test2.bat:
```
wt -w test -d . -p "Command Prompt" test3.bat
wt -w test -d . -p "Command Prompt" test3.bat
```
test3.bat:
```
echo Test
pause
```
There should be no window named "test" at first.
Double click on test1.bat.
### Expected Behavior
A window with two tabs showing the "Test" output.
### Actual Behavior
Terminal crashes as it attempts to launch the additional tab.
Contributor guide
Assessment
This issue has not been assessed yet.