title: OSX: How to check the return value of launchctl command
body: <p>On OSX using launchctl to start and stop a service seems great however I don't see anyway to check the return value to make sure it really did start. Return value always seems to come back as zero even when the service failed to start</p>
  
  <p>This plist file contains an error and thus will not start Drizzle as expected</p>
  
  <pre><code>% launchctl start /Library/LaunchDaemons/org.drizzlebad.plist
  
  % echo $?
  
  0
  </code></pre>
  
  <p>Any suggestions other than checking the existence of the pid file for this service?</p>