I am trying to run a very long python script which resides in guest virtual machine A.py from the host linux machine. The guest VM is Windows 7x64 and application is VMware Fusion.
I am using following command:
vmrun -T ws -gu <username> -gp <password> runScriptInGuest "/Users/userdir/Documents/Virtual Machines.localized/Windows7x64.vmwarevm/Windows7x64.vmx" C:\\Users\\Admin\\Documents\\A.py C:\Python27\python.exe
This is not working. Any ideas on how to get this working?
I really appreciate your help.
Just a wild guess, but try changing the order of the last 2 arguments:
The Python interpreter should be invoked by the VM and the interpreter will run the
A.py
script.