The required form of command is as
perl /product/editique/RFR/preproc/scripts/ExprEval.pl -P 'EGAL_CHAINE (" ","")' -K /varsoft/editique/RFR/preproc/logs/D.RFR.PR.PCAC9.PCPA.00.54.20110920.Evaluate_Expression.log
What's wrong with this code (it is not quoting the function, I have checked up the logs):
cmd_perl=sprintf("perl %s -P '%s' -K %s",ScriptPerl,Final_Expr,FicLog);
# Debug
mess=sprintf("RTF et condition non vides => Appel au perl : '%s'",cmd_perl);
message_debug(mess);
message_debug(cmd_perl);
#eval_res= !system(cmd_perl);
---------- Post updated at 08:21 PM ---------- Previous update was at 03:58 PM ----------
I got it solved by using escape sequence \47%s\47.