Reputation: 207
I have a problem that I want to execute an "expect script" inside of an expect script. Is there anyway to do this? I appreciate any help.
Upvotes: 0
Views: 1179
Reputation: 473
[TL;DR]
one sample would help you understand
spawn expect ./runmysql.exp $dbEnv "select * from SalesOrder where orderNo='$orderId' \\G; \r"
https://todzhang.com/blogs/tech/en/expect-script-is-your-secret-to-productivity
Upvotes: 0