From: Jason P. <jas...@su...> - 2002-08-27 19:48:43
|
Hi, I'm trying to run my perl code in the background under Solaris (tried under 5.6,7 and 9), but if I use Expect it hangs with "Suspended (tty output)". I'm using perl 5.8.0. Here's my test file: #!/usr/bin/env perl use Expect; print STDERR "launching\n"; my $exp = Expect->new(); $exp->spawn("/sbin/sh"); print STDERR "launched\n"; % ./test.pl launching launched % ./test.pl & [3] 4179 % launching [3] + Suspended (tty output) ./test.pl Any help would be greatly appreciated! Thanks, Jay Penney |