id summary reporter owner description type status component version resolution keywords cc guest host 17319 """VBoxManage guestcontroll run"" stdin/out redirection not working" shangouet "I'm trying to run a python script inside a Windows 7-64bit virtual machine, redirecting stdin and stdout from/to Ubuntu 17.10 host. GuestAdditions and python have been installed on the VM. I placed the python script on a shared directory. The following commands never exits and does not echo anything until I pressed CTRL+C : {{{ echo -1 | VBoxManage --nologo guestcontrol ""w764 Clone"" run --username Hector --password hectorH --exe ""C:\Python27\python.exe"" --wait-stdout -- E:\test.py }}} Here is the script ""test.py"": {{{ print(""Hello"") while True: s = raw_input() a = int(s) print(a) if a < 0: break }}} I first tried to run it inside a windows terminal on the VM, and this works: {{{ c:\> c:\python27\python.exe E:\test.py Hello -1 -1 }}} To make sure the login parameters are ok, I run iexplore with success: {{{ VBoxManage --nologo guestcontrol ""w764 Clone"" run username Hector --password hectorH --exe ""C:\Program Files\Internet Explorer\iexplore.exe"" }}} " defect new guest control VirtualBox 5.1.30 guestcontroll run stdin stdout Windows Linux