The $STRING expansion in actions makes some assumptions:

If you want to force a single string variable to be treated as a single argument, you can do this:

The curly braces cause "[MYVAR]" to be evaluated as a Python expression. [MYVAR] is a list containing the single string MYVAR. So your end result is that MYVAR will be quoted as a single arg if it happens to contain spaces.

ArgumentQuoting (last edited 2008-03-12 02:47:06 by localhost)