Opened 13 years ago
Closed 8 years ago
#9632 closed defect (obsolete)
IGuest ExecuteProcess runs process forever
Reported by: | Steve | Owned by: | |
---|---|---|---|
Component: | guest control | Version: | VirtualBox 4.1.2 |
Keywords: | IGuest ExecuteProcess | Cc: | sfoxover@… |
Guest type: | Windows | Host type: | Windows |
Description
I am trying to execute a Windows process on the Virtualbox image. I use IGuest.CopyToGuest which works fine. Then IGuest.ExecuteProcess. IProgress.WaitForCompletion waits until I manually kill the process on the remote machine. I tried IProgess.Cancel and this also fails. I am running a Powershell script on a Windows 7 64 bit image. The script works fine but its impossible to kill it via IProgress. Running the same command line manually in the Virtual box image works fine and exits as expected.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Component: | guest additions → guest control |
---|
comment:3 by , 8 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
Found a good work around for Windows VM's. http://technet.microsoft.com/en-us/sysinternals/bb897553
WMI win32_process works great...