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

      Hi,

       

      1)

      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.

       

       

      2)

      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

          i.e..

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