title: prevent OS X sleep whilst running specific launchd plist
body: <p>I have a global launchd plist file that runs a backup script periodically. The script is a pretty simple bash script that sets up some variables and calls <code>duply</code>. However the plist doesn't seem to be preventing the system from going into sleep mode. </p>
  
  <p>Is there a way of preventing the mac from going into sleep mode whilst this specific launchd plist and associated script are running?</p>