hymkor/expect

issue using "scp" accept only single quoted arguments (instead of double quoted)

yehonatan-harizi opened this issue · 1 comments

I'm trying to automate , secure copy functionality from windows workstation to linux machine, by using your tool, I was suppose to overcome the prompt password barrier. However I immediately had difficulties to insert arguments, since they are not properly interpret by expect.exe. I'm trying to figure out if there is a way, that the tool could interpret the arguments (string) as single quoted or even without (a clean string):

cnf.lua - content:
image

running the tool output:
image

Sorry for the inconvenient, Apparently I went wrong by not adding each of the parameters separately as in array.
The script now working just fine
Thanks again for the amazing tool and the effort you put on building it :)