determining if user has shell access
monte at sweattechnologies.com
Thu Oct 14 18:45:05 CDT 2010
> 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
ok, I'm working on a shell type function that will use open process instead.
M E R Goulding Software Development
Bespoke application development for vertical markets
InstallGadget - How to create an installer in 10 seconds
revObjective - Making behavior scripts behave
More information about the use-livecode