determining if user has shell access

Dar Scott dsc at swcp.com
Thu Oct 14 18:22:40 EDT 2010


You can use the entire line that you would use in the appropriate  
command window, even changing the command process if need be, even  
changing priority.  You can also elevate the process with 'open  
process elevated' which might get past the blocks (presumably asking  
for a password if needed).  The latter might be good in that the  
solution is not so much to find if it works but to make it work.   
Well, if that works.  I haven't tried it, but I assume you can do the  
command line string and elevated process at the same time.

If you discover anything interesting, that would be cool to learn about.

Dar


On Oct 14, 2010, at 3:48 PM, Monte Goulding wrote:

>
> On 15/10/2010, at 4:53 AM, Dar Scott wrote:
>
>> Does open process fail?
>>
>> Maybe there is something along this way that will work either as a  
>> test or as your own shell.
>
> I would expect that as long as the user has the right to execute  
> the process then it should be fine. How do you send command line  
> arguments via the open process command? In both scripts  
> getMACaddress and getLANip it's just ipconfig /all that's called on  
> windows.
>
> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list