When using Ctrl+C to interrupt a command when I'm in vagrant powershell (a long habit for certain things such as stopping a ping command after the first failure when testing network connectivity), both the host and guest shells are broken in a way that I cannot recover without closing my host powershell window. I see a command prompt spaced several lines apart for each machine with a
The remote pipeline has been stopped.
error sandwiched between as seen here:
Both prompts seem to attempt to steal focus from each other if I continue to type. For example, here's the result if i try to type the command exit:
Steps to reproduce
vagrant up a Windows guest on a Windows host
vagrant powershell
run a command/process that will take a bit, such as a ping that will timeout
use Ctrl+C on keyboard to interrupt the command
Enter the twilight zone
Vagrant version
1.9.7
Host OS
Windows 10 v 1703 (Creators Update) build 15063.0
Guest OS
Windows 2016 Standard Edition
Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "gusztavvargadr/w16s-sql14d"
config.vm.box_version = "0.6.0"
config.vm.provision "shell", inline: <<'SHELL'
cd c:\vagrant
.\MachineSetup.ps1
SHELL
end
When using Ctrl+C to interrupt a command when I'm in
vagrant powershell
(a long habit for certain things such as stopping a ping command after the first failure when testing network connectivity), both the host and guest shells are broken in a way that I cannot recover without closing my host powershell window. I see a command prompt spaced several lines apart for each machine with aerror sandwiched between as seen here:
Both prompts seem to attempt to steal focus from each other if I continue to type. For example, here's the result if i try to type the command
exit
:Steps to reproduce
vagrant up
a Windows guest on a Windows hostvagrant powershell
Vagrant version
1.9.7
Host OS
Windows 10 v 1703 (Creators Update) build 15063.0
Guest OS
Windows 2016 Standard Edition
Vagrantfile