Using shell as administrator on Windows 10
Paul Dupuis
paul at researchware.com
Fri Jun 28 14:54:04 EDT 2019
On 6/28/2019 1:23 PM, Glen Bojsza via use-livecode wrote:
> Hello,
>
> Is there a way to us LC shell to do commands as administrator?
>
> thanks,
>
> Glen
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
I was told back when working in LC6.7.11 that the only way to have an
LC app execute commands with admin permissions on Windows is with a
Helper app. You have to make a small windows standalone that does your
shell commands that your main app can launch via the "open process
elevated" command and then use sockets or interrocess communication to
tell the helper to execute the commands you want.
A LiveCode standalone can not elevate itself.
More information about the use-livecode
mailing list