I am trying to write a small script to spwan a perl script with some specific args to perl script.
Expand|Select|Wrap|Line Numbers
- #! /usr/bin/expect -f
- set args " -abstract=\"AutoEM : FIX MONITORING TAR TO OHSOAP\" -queuename=xxx -product=111 -note=\"A tar created for broken monitoring\""
- eval spawn ./autosr $args
- #expect "Enter pass key :"
- #send "xxxx\r"
- #expect eof
- interact
- exit
Error: Following arguments were not used due to wrong syntax
:
FIX
MONITORING
TAR
TO
OHSOAP"
tar
created
for
broken
monitoring"
that means it is not taking these args and not passing them to perl script.
Any help will be highly appreciated.
Thanks in advance
ritz