- Have an remote SSH connection to a workspace where there's a Python .venv. Write some command you might want to run later in a terminal, but don't send it.
- Disconnect and reconnect to the remote.
- ⚠️ Python will automatically write
source <path>/.venv/bin/activate to all existing terminals and submit it, resulting in the command being executed
This is a really sharp edge, I had this mess up a notable chunk of work on a remote machine because my unsent command was a destructive action 😞