[kepler-users] Quotes in a constant actor

Fanny Lévy-Provençal fanny at cng.fr
Fri Mar 28 01:24:40 PDT 2008


Hi Christopher,

thanks for your answer.
I'm trying to execute a command, with the Command Line Exec actor,
and my string is in a Constant actor, in input of the Command Line Exec.

I saw in the examples (CommandLine_1.xml) that the string in the  
Constant actor is surrounded by double quotes.
Am I right ?

Fanny.


Le 27 mars 08 à 16:57, Christopher Brooks a écrit :

> Hi Fanny,
> Backslashes should work with the Const actor:
>
> "my_binary --name \"toto and titi\" "
>
> Note that there are Parameters, which expect strings to
> be surrounded in double quotes:
> "my_binary --name \"toto and titi\" "
> and StringParameters, which are Parameters in 'String Mode',
> which do not have double quotes.
>
> It looks like you are trying to execute a command, so it
> depends on which actor you are using.
>
> _Christopher
>
> Christopher Brooks (cxh at eecs berkeley edu) University of California
> Chess Executive Director                      US Mail: 337 Cory  
> Hall #1774
> Programmer/Analyst Chess/Ptolemy/Trust        Berkeley, CA 94720-1774
> ph: 510.643.9841 fax:510.642.2718	      (office: 400A Cory)
> home: (F-Tu) 707.665.0131 (W-F) 510.655.5480
>
>
> ------
>
>     Hello,
>
>     is it possible to put double quotes in a constant actor which
>     contains already
>     a command line that begins and ends with quotes ?
>
>     Example :  "my_binary --name "toto and titi" "
>
>     Can we protect them with a special caracter ?
>
>     Many thanks,
>
>     Fanny Levy.
>     _______________________________________________
>     Kepler-users mailing list
>     Kepler-users at ecoinformatics.org
>     http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/ 
> kepler-users
> --------




More information about the Kepler-users mailing list