fun with elevated processes

Ken Ray kray at
Thu Oct 14 12:34:46 EDT 2010

>   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

That's cool, Phil! What did you have to do before 'open elevated process'?
Does this take the place of trying to pass an admin password on the command

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at
Web Site:

More information about the Use-livecode mailing list