in reply to
Spawn Expect Object in the background doesn't work
It might be the way your shell handles background jobs. Try running the script under nohup(1).
Comment on
Re: Spawn Expect Object in the background doesn't work
In Section
Seekers of Perl Wisdom