Dear STAF users,

I'm trying to run a shell command through STAF Process service. The command
involves curly braces (i.e., {}) for which STAF Process is trying to resolve
(variable). Is there any way to stop or escape variable substitution while
submitting a command to STAF Process service?

For instance;


$ STAF dev48 PROCESS START SHELL COMMAND "unset LD_PRELOAD; dtrace -n
'proc:::exec-success { trace(curpsinfo->pr_psargs); }'" STDOUT
/nec/STAF/dtrace/proc.log STDERRTOSTDOUT 
Error submitting request, RC: 13
Additional info
---------------
Variable resolution failed for string: unset LD_PRELOAD; dtrace -n
'proc:::exec-success { trace(curpsinfo->pr_psargs); }'

You are trying to resolve a variable that does not exist.
$


I understand that STAF is trying to substitute what's inside the {} in the
above command. My attempts to escape the (mistaken) variable reference via
"\{ ... \}" have not been successful. I am also unable to locate a
discussion on the subject in STAF documentation.

The system I'm using is Sun Solaris v10 on sparc platform. Staf version is
3.3.4 compiled with Sun CC. Any help or idea will be much appreciated.


Kind regards,
Semih Cemiloglu 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to