Quoting Andree Leidenfrost <[EMAIL PROTECTED]>:
I have to think about how to properly escape characters in filenames before they are being used in a shell command. (If you have any ideas, please let me know.)
One possibility is to replace use of system() by fork() and exec(). The advantage being that you no longer need to escape command arguments. Not having looked at the mondo code, I have no idea how much work this would be.
At the moment I believe that a generic function should be written that handles this type of thing consistently in mondo. I would hope that such a function already exists somewhere and I can just nick it. We'll see.
It's a common need, so I suspect that such a function exists, in many languages. The fork/exec solution likewise probably exists, too.
Cheers, -Steve -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

