How to handle spaces in a path when using shell

Glen Bojsza gbojsza at gmail.com
Wed Nov 14 03:27:17 EST 2012


That's it!

Also I needed to concatenate the commands to get the application to launch.

thanks

On Wed, Nov 14, 2012 at 3:05 AM, Thierry Douez <th.douez at gmail.com> wrote:

> Hi Glen,
>
> > put shell("/Users/lab/Desktop/tools/HardwareSimulator.sh")
> > but when there are any spaces it doesn't work... the space is
> > between Macintosh and HD2
>
> This snippet works:
>
>    get "/Volumes/Macintosh HD"
>    replace space with  "\ " in IT
>    put shell("ls " & IT)
>
>
> change whatever to fit your needs.
>
> Hope you get hte idea..
>
> Thierry
>
> _______________________________________________
> 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