I am executing Linux script
in expect mentioned as below.
spawn "sh /opt/Avaya/CCR/util/CAT/cat.sh --iptfile=no"
I am using ansible
to execute above command .
when I execute ansible-playbook catexpect.yml
then it gives error file not found
.
Please tell me how to handle this command in expect?