Skip to content
Advertisement

Tag: tcl

How to run eval spawn ssh and expect in background?

I created a script to get in inside an Access Point (AP) using ssh and execute some commands and I used expect to interact with shell. The scripts works fine when it is running on foreground, but when I try to execute the same script in background using & to fork the process, it stop at spawn ssh command at

Advertisement