From: Nikodemus S. <nik...@ra...> - 2006-06-02 11:05:14
|
Juho Snellman <js...@ik...> writes: > It's not the intent that users of RUN-PROGRAM need to worry about > quoting the arguments, and it would be especially bad if they only > needed to do it on some platforms :-) If the arguments need to be > escaped on win32, it should probably be done somewhere in RUN-PROGRAM > or spawn(), not in every caller. Agreed. Unfortunately it is not immediately obvious how to do this sanely: should RUN-PROGRAM treat "foo\\bar" and "foo\\\\bar" as equivalents? #\\ is a really unfortunate choise for a path-separator. Since Windows accepts / just fine, perhaps we should use that in our own canonical representation to save us (and our users) from escape-hell? Cheers, -- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs." |