#8235 closed defect (fixed)
2 new bugs in "vboxmanage guestcontrol execute": --verbose and --wait-for exit(stdout,stderr) => Fixed in SVN — at Version 7
Reported by: | Paolo Virtual | Owned by: | pentagonik |
---|---|---|---|
Component: | guest control | Version: | VirtualBox 4.0.2 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | other |
Description (last modified by )
After updating to 4.0.2, we encountered two bugs when starting an application via "vboxmanage guestcontrol execute":
1) when adding the paramter --verbose, the Exit Code of the started app is not printed, thus we cannot find out, what the exit code of the started app was
2) when adding --wait-for exit, the system stalls, i.e., the process never returns:
Process '/bin/pidof' (PID: 2067) started
Waiting for process to exit ...
The same happens with stdout and stderr.
Change History (7)
comment:1 by , 14 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
Summary: | 2 new bugs in "vboxmanage guestcontrol execute": --verbose and --wait-for exit(stdout,stderr) → 2 new bugs in "vboxmanage guestcontrol execute": --verbose and --wait-for exit(stdout,stderr) => Fixed in SVN |
comment:2 by , 14 years ago
Thanks, works in the SVN version. Is there already a release date for the next version?
comment:3 by , 14 years ago
priority: | blocker → major |
---|
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I still experience this bug in 4.1.2 (4.1.2-73507~Ubuntu~natty). I have Ubuntu x64 11.04 host and Windows 7 x64 Professional guest. Sometimes guestcontrol execute works, but most of the times it just waits forever. For example:
$ sudo -Hu builder vboxmanage guestcontrol Win7x64Build execute "c:\windows\system32\where.exe" --username "build" --password "secretpassword" --wait-stdout --verbose -- where Waiting for guest to start process ... Process 'c:\windows\system32\where.exe' (PID: 2792) started Waiting for process to exit ... C:\Windows\System32\where.exe
After printing the last line vboxmanage never returns. The log file just indicates:
00:01:29.510 Executing guest process "c:\windows\system32\where.exe" as user "build" ... 00:01:29.620 Guest process (PID 2792) started
The process PID 2792 exited long ago, but vboxmanage seems doesn't notice.
comment:6 by , 14 years ago
Component: | VM control → guest control |
---|
comment:7 by , 12 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Please reopen if still relevant with VBox 4.2.6.
Thanks for the report; this should be fixed already in SVN and a bugfix will be available in the next upcoming version of VBox.