Shell Fails on One Machine

Bob Sneidar bobsneidar at iotecdigital.com
Thu May 5 14:07:24 EDT 2016


What your shell funtion would look like in this example is:

get shell (open "/Volumes/Chola1/WWW/public_html")

Might need to be:
get shell ("open /Volumes/Chola1/WWW/public_html")


> On May 4, 2016, at 21:51 , Sannyasin Brahmanathaswami <brahma at hindu.org> wrote:
> 
> New iMac with clean install of El Capitan
> 
> My stack using shell scripts are failing on the shell calls.
> 
> The normal debug procedure:
> 
> Open terminal   # test your commands here first
> 
> % open /Volumes/Chola1/WWW/public_html
> 
> Works as expected.. The folder is opened on the desktop
> 
> But from inside my app
> 
> Put  "/Volumes/Chola1/WWW/public_html” into pPath
> 
> openInFinder pPath
> 
> command openInFinder pPath
> 
> put ("open " & quote & pPath & quote) into tShell
> 
> get shell (tShell)
> 
> end openInFinder
> 
> Fails…
> 
> The result is “1”
> 
> Any clues?
> 
> BR
> _______________________________________________
> 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



More information about the use-livecode mailing list