Hi,

 

I am  using the exec_avp command as followed:

 

exec_avp("/usr/bin/mwi/test.sh $fU"); $fU taking command line arguments.

 

Here is the shell script content:

 

#!/bin/bash -e

echo $1

logger done! $1

logger done

mkdir /usr/bin/mwi/$1 || { logger 'touch failed' $? $errorMessage ; exit 1; }

 

 

logger is working fine but.mkdir and other system commands are not executing.

I cant figureout my misses

 

 

 

 

Regards,

 

Ansuman Manna

Software Developer

Asergis Telecom Services Private Limited

Office Tel: +91 11 6606 8400

Office Fax: +91 112554 5156

http://www.asergis.in

 

Asergis Telecom India