user4661403 user4661403 - 6 months ago 38
Bash Question

how to kill a Genymotion VM via command prompt?

The command


player --vm-name VM_NAME


is for launching a Genymotion VM and

What is the command for kill a Genymotion VM?

Answer

You could use the kill command on *nix like systems and taskkill in Win systems.

A nice post on using Genymotion in a Jenkins setup is available at http://krazyrobot.com/2014/05/calabash-genymotion-and-jenkins/. An excerpt of the command is below:

PID=`ps | grep "Genymotion\.app/Contents/MacOS/player.*7b4f5185-b7d6-4151-9b09-9cefba4c0967.*" | awk '{print $1}'`
kill $PID