﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
17386,guestcontrol run with --wait-stdout will not return -> fixed in 5.2.20,Quizzles,pentagonik,"Hello there, 

After updating VirtualBox from 5.1.30 to 5.2.4 the following command will not return after executing.

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe --nologo guestcontrol Fedora24_32Bit run --verbose --wait-stdout --username testuser --wait-stderr --exe /bin/pwd
Creating guest session as user 'testuser'...
Waiting for guest session to start...
Successfully started guest session (ID 1)
Starting guest process ...
Process '/bin/pwd' (PID 1637) started

The process on the guest system will be executed and terminated. But the VBoxManage on the host system will not return and print no output from the guest.

If trying to execute a not existing program the VBoxManage will return.  
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe --nologo guestcontrol Fedora24_32Bit run --verbose --wait-stdout --username testuser --wait-stderr --exe /bin/not_exist
Creating guest session as user 'testuser'...
Waiting for guest session to start...
Successfully started guest session (ID 1)
Starting guest process ...
VBoxManage.exe: error: The specified file was not found on guest
VBoxManage.exe: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestProcessWrap, interface IGuestProcess, callee IUnknown
VBoxManage.exe: error: Context: ""WaitForArray(ComSafeArrayAsInParam(aWaitStartFlags), gctlRunGetRemainingTime(msStart, cMsTimeout), &waitResult)"" at line 1529 of file VBoxManageGuestCtrl.cpp
Closing guest session ...

Thank you for your help!

",defect,closed,guest control,VirtualBox 5.2.4,fixed,,,Linux,Windows
