Preparing strings for Shell

Devin Asay devinasay at gmail.com
Fri Nov 21 19:02:17 EST 2008


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




More information about the use-livecode mailing list