determining if user has shell access

Dar Scott dsc at swcp.com
Thu Oct 14 03:58:30 EDT 2010


I'm a little confused as to what is happening.  Is the app locking  
up?  Or does the function return empty?

If the latter, then maybe you can test shell with something trivial  
that always returns something that is not empty.  If you get empty,  
you can't use shell().

Dar


On Oct 13, 2010, at 11:53 PM, Monte Goulding wrote:

> No ideas anyone?
>
>> How is it possible to determine if shell access is available? One  
>> of my apps is being run where the command line is restricted on  
>> Windows and shell calls aren't being returned. I think this is a  
>> bug in the engine in that a call to shell should return "Error: no  
>> shell access" or something logical rather than not returning but  
>> has anyone worked around this before.
>
> 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