I am using vmrun 6.5.2 to run a testing tool in the guest. It takes 3 parameters in this case. A path to a project suite to open (1), a command (/run) to run tests (2) and the name of the project containing the test items to run (3). It is of course not important for this discussion what the parameters look like, I am more interested in knowing why the tool does not work the expected way. It opens the project suite but then it seems to hang. If I run only the red part on the actual VM everything works fine (the test items of the specified project run) so it seems to be an issue with how parameters are handled by vmrun.
vmrun -T ws -gu myUserName -gp myPassword runProgramInGuest vmPath programPath projectSuitePath /run /project:AProject
Any ideas? I can add any number of parameters after the program path, right?
I have created the batch file on the guest but I have a problem running it. The command prompt opens up but nothing is run.
vmrun -T ws -gu USERNAME -gp PASSWORD runProgramInGuest "C:\VMs\VM1\VM1.vmx" cmd.exe "/c C:\destbatch.bat"
What is the /c thing? I have tried without it but nothing happens.
I removed the cmd.exe part (and removed the /c thing) and now it works.
