Hi All,
I am facing issue when executing itadmin process list -a | grep XYX from a shell script .
The below script snippet is returning blank value " " even when the service is up and running.
PROCESS=`itadmin process list -a | grep XYZ`
if [ "${PROCESS}" == "" ]
then
echolog "Service is down"
exit 1
fi
But when I run the same command directly from windows command line I get the expected return value ie XYZ
itadmin process list -a | grep XYZ
XYZ.
Not sure why it is failing when called from shell script.
Thanks in advance.
#CORBA
#Orbix




