Found out that the script doesn't die - it just stops and sits there waiting to be brought into the foreground. When it is - it starts again and picks up normal processing$self->{_logger}->debug("AHEAD OF SPAWN"); eval { $Spawned = Expect->spawn("$args[0] $args[1]"); $msg = "Spawning to $args[0] $args[1]\n"; $self->{_logger}->info($msg); }; $self->{_logger}->debug("AFTER OF SPAWN");
In reply to Spawn Expect Object in the background doesn't work by set_uk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |