From: Austin S. <te...@of...> - 2002-08-29 19:53:40
|
On Thu, Aug 29, 2002 at 09:23:20AM -0700, ex...@ih... wrote: > > > > 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 > > Have you tried reading from the tty to see if that wakes sh up? i.e.: $exp->spawn("/sbin/sh"); $exp->expect(undef,'$ '); print STDERR "launched\n"; Austin |