You might get more enlightenment if you check if the spawn call is returning an error or not, printing out $! if it's not.
In reply to Re: Spawn Expect Object in the background doesn't work
by Fletch
in thread Spawn Expect Object in the background doesn't work
by set_uk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |