Preparing strings for Shell
Mark Smith
lists at futilism.com
Fri Nov 21 19:06:20 EST 2008
Devin, I've always found that quoting things like filepaths sems to
do the trick - is there some problem that quoting doesn't solve?
Best,
Mark
On 22 Nov 2008, at 00:02, Devin Asay wrote:
> Hi all,
>
> We have a URLencode function to prepare strings for posting to an
> http server. Is there anything comparable for formatting strings to
> execute as a shell command? (I'm on OSX). For example, spaces in
> file paths have to be escaped with a backslash (\), as do other
> characters. What's the best practice for this?
>
> Regards,
>
> Devin
>
> _______________________________________________
> 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