Testing #22926 1. Run a command that will open the Python interpreter using `shift+enter` on a line. 2. Manually run `quit()` in the python interpreter. 3. Run a command again that will open the Python interpreter using `shift+enter` on a line. 4. Notice that the interpreter doesn't open :bug: 5. Furthermore, continually running shift+enter will keep adding to the command that it sends to the terminal. In this case, I kept running `time.sleep(1)` in step 4 and 5. <img alt="image" src="https://github.com/microsoft/vscode-python/assets/31675041/a2f5729f-efb7-42b7-a5cb-05e3de0392ca"> This is still in the Python shell, btw.