Re: empty arg in p:exec

On 19 March 2010 08:59, Romain Deltour wrote:

> The issue is caused by the double space between "-quiet yes" and
> "-show-warnings no". The default args separator is a space, which means that
> the arg list computed by Calabash is
> [-asxml,--quiet,yes,,--show-warnings,no]. It took me a while to get over
> this one!

  A tricky one, sure.  From my reading of the spec, this is the
required behavior.  It seems that is going to lead to the same
"not-really-strict-language" issues as with the shells.  I would
rather prefer something like:

    <arg>-asxml</arg>
    <arg>--quiet</arg>
    <arg>yes</arg>
    <arg>--show-warnings</arg>
    <arg>no</arg>

  Which could permit everything:

    <arg> !"_'*:,   </arg>

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Received on Friday, 19 March 2010 14:42:30 UTC