VMware {code} Community
Nasu
Contributor
Contributor

runProgramInGuest and Program Exit Codes

I am using vmrun 6.5.2 to run a testing tool in the guest. Using vmrun I first start a VM and then the testing tool. My testing tool returns an exit code that I would like to be able to check. Is that possible?

0 Kudos
2 Replies
Nasu
Contributor
Contributor

Seem like I will need to use the COM API instead to achieve this.

0 Kudos
lemke
VMware Employee
VMware Employee

The property VIX_PROPERTY_JOB_RESULT_GUEST_PROGRAM_EXIT_CODE on the jobHandle when VixVM_RunProgramInGuest() completes should have the exit code.

0 Kudos