fun with elevated processes
revdev at pdslabs.net
Thu Oct 14 12:08:06 EDT 2010
I can now easily restart Apache from a LC handler:
constant kRestartApache = "apachectl -k graceful"
open elevated process kRestartApache for neither
if the result <> empty then
answer "Could not restart server."
close process kRestartApache
-- process will normally close itself when finished
Professional Software Development
More information about the Use-livecode