I can now easily restart Apache from a LC handler:

on mouseUp
   constant kRestartApache = "apachectl -k graceful"
   open elevated process kRestartApache for neither
   if the result <> empty then
      answer "Could not restart server."
      close process kRestartApache
   end if
   -- process will normally close itself when finished
end mouseUp

Cool!
--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to