11 Replies Latest reply on Mar 17, 2011 3:26 PM by dav0101

    Howto make vmrun blocking (for use with KeepAlive in launchd)

    dav0101 Novice




      Any ideas how to force vmrun to not return and keep running in the background.


      Problem is when using launchd and keepalive (for detecting and restarting if vmware crashes), it needs the executable not to daemonize itself.




      Also wonder if there is a trick to suspend/quit vmware and the running instance nicely when shutting down a Mac OS X system.


      I want to make sure the equivalent to vmrun suspend is executed when the system signal for shutdown


          signal.suspendOnHUP = "TRUE"
          signal.powerOffOnTERM = "TRUE"