Closed GoogleCodeExporter closed 8 years ago
I had the same issue until I saw this in the list_process() documentation:
exit_code [int]: If the process was started using start_process then
the process exit code will be available if queried within 5
minutes after it completes. None otherwise
So looking for the PID is not enough. You have to also check for 'exit_code'
being present in the process dictionary. If it's there, the process has
finished.
Original comment by aszek...@countertack.com
on 25 Apr 2013 at 10:00
That's right. That behavior is defined by vmware
(http://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.wssdk.apiref.doc/vim.vm.
guest.ProcessManager.html)
As mentioned, you'll need to check the exit code as well.
Original comment by argo...@gmail.com
on 26 Apr 2013 at 2:19
Original issue reported on code.google.com by
glauberf...@gmail.com
on 27 Mar 2013 at 2:44