fun with elevated processes
revdev at pdslabs.net
Thu Oct 14 11:08:06 CDT 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