On Nov 21, 2008, at 5:06 PM, Mark Smith wrote:

Devin, I've always found that quoting things like filepaths sems to
do the trick - is there some problem that quoting doesn't solve?

I'll try that. It may be all I need. Thanks for the feedback.

Devin


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?


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to