Okay…

Found this related to shell scripts and the 255 error…

http://lists.runrev.com/pipermail/use-livecode/2010-June/141991.html


Not sure what to do about it though…?

It does appear to be a permission error. If I run:   sudo /bin/mkdir 
~livecodetest from the terminal it will create my folder. But how would that 
work in a stack?

Thanks! 



On Dec 19, 2012, at 3:20 PM, JOHN PATTEN <johnpat...@me.com> wrote:

> Okay…going to try tackling the MergeBonjour route…
> 
> First problem, sending shell command. I have sent shell commands before 
> through a stack.
> 
> Starting with a simple:  mkdir ~/Livecodetest  
> 
> This works from the command line, but when I attempt to run this from a 
> stack, I don't get my new folder?
> 
> I was doing a:       shell("mkdir ~/livecodetest")   I also tried a:  do 
> shell("mkdir ~/livecodetest")  and a:   put shell("mkdir ~/livecodetest")  
> for good measure. 
> 
> What am I doing wrong?
> 
> 
> Also, took a look at dns-sd to register a (bonjour) service,  from what I can 
> understand, when I get the shell to work correctly, I would do a:
> 
> shell("dns-sd -R TeacherServer local 8080")    Man shows it as dns-sd -R 
> <Name> <Type> <Domain> <Port> [<TXT>...] (Register a service) 
> 
> 
> Next step after getting the shell to work, create an iOS stack and see if it 
> can see my registered bonjour service.  
> 
> Thanks for the help!
> 
> 
> 
> 
> On Dec 19, 2012, at 1:55 PM, Mike Kerner <mikeker...@roadrunner.com> wrote:
> 
>> I agree that http isn't the ideal solution, but we don't have an android
>> option yet.
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to