How do you use expect spawn?

Man Ly

New member
How do you use expect spawn?
Answer
Then start our script using spawn command. We can use spawn to run any program we want or any other interactive script.
…
Expect Command.

spawn

Starts a script or a program.

send

Sends a reply to your program.

interact

Allows you to interact with your program.
 

Tìm kiếm

Back
Top