<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18990.0
Windows Terminal version (if applicable): 0.5.2681.0

Any other software? WSL Ubuntu 18.04.3's bash."><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18990.0
Windows Terminal version (if applicable): 0.5.2681.0

Any other software? WSL Ubuntu 18.04.3's bash.
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">With powershell tab open, open new Ubuntu tab<br>
Close Ubuntu tab by pressing Ctrl+D<br>
Press Ctrl+D in powershell followed by Enter</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Error message of the likes of "The term ^D is not recognized as the name of a cmdlet, function, script file, or operable program."</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">A crash.</p>
<p dir="auto">I'm not sure if this is already a way to do this or not...</p>
<p dir="auto">I have two long running python scripts that I run from Powershell. Instead of opening two PS Windows and then calling the the scripts manually, I created a batch file that spins up two instances of Powershell and calls the scripts on each:</p>
<p dir="auto"><code class="notranslate">start powershell -noexit -executionpolicy remotesigned .\some_path\script.py -somearguments</code></p>
<p dir="auto">I was wondering if there is a way to tell it to spin the Powershell windows inside the new Windows Terminal?</p>