determining if user has shell access

Monte Goulding monte at sweattechnologies.com
Thu Oct 14 19:45:05 EDT 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.

Cheers

--
Monte Goulding
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 mailing list