Hello.
I have the following in the definition of a component type:
<attr>
<name>saAmfCtRelPathInstantiateCmd</name>
<value>opt/ssaf/instantiate.sh "/opt/simplepm/simplepm first"
/var/run/simplepm_FIRST.pid</value>
</attr>
I would expect instantiate.sh to receive two arguments, one containing the
first quoted string, and another one with the second path. Instead, however, it
receives three arguments:
- "/opt/simplepm/simplepm
- first"
- /var/run/simplepm_FIRST.pid
I've tried moving the arguments to saAmfCtDefInstantiateCmdArgv and the same
happens. Looks like OpenSAF is splitting the command line regardless of the
quotes. Is there a way to make it respect the quoted arguments?
Thanks in advance.
Regards.
[Navantia]
________________________________
NAVANTIA S.A. S.M.E. Este mensaje y cualquier fichero anexo al mismo contiene
información de carácter confidencial dirigida exclusivamente a su(s)
destinatario(s) y, en su caso, sometida a secreto profesional. Queda prohibida
su difusión, copia o distribución a terceros sin la previa autorización
escrita. Si Vd. ha recibido este mensaje por error, se ruega lo comunique
inmediatamente por esta misma vía y proceda a su completa eliminación. Puede
revisar nuestra política de privacidad en http://www.navantia.es/es/legal/.
The information in this e-mail and in any attachments is confidential and, if
any, protected by a professional privilege and intended solely for the
attention and use of the named address(es). You are hereby notified that any
dissemination, copy or distribution of this information is prohibited without
the prior written consent. If you have received this communication in error,
please notify the sender by reply e-mail and delete it. You can review our
privacy policy at http://www.navantia.es/en/legal/.
________________________________
[Navantia] Piense en el medio ambiente. ¿Necesita realmente imprimir este
correo? Please care for the environment. Do you really need to print this
e-mail?
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users