From: Anders W. <And...@ac...> - 2002-08-27 19:58:21
|
I've run into this as well. I've been able to work around it by start up a plain-old sh and launching it from there. Very annoying, though. anders -----Original Message----- From: Jason Penney [mailto:jas...@su...] Sent: Tuesday, August 27, 2002 12:48 PM To: exp...@li... Subject: [Expectperl-discuss] Problem running in bg 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 ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Expectperl-discuss mailing list Exp...@li... https://lists.sourceforge.net/lists/listinfo/expectperl-discuss |