J
jaysonhill03
I'm running a process that creates many different child processes,
each of which create an Expect object. I'm getting the following
error:
Cannot create a new IO::Tty from fd -1: Invalid argument
The code I use to create the Expect object is as follows:
$self->{myFTPHandle}=new Expect;
$self->{myFTPHandle}->debug($debug);
$self->{myFTPHandle}->raw_pty(1);
$self->{myFTPHandle}->log_stdout(0); # Suppress writing of sftp
replies to stdout
The error is on the instantiation of the object (the new Expect call
above). I'm not sure what, exactly, is causing this error. Any help
would be much appreciated.
O/S: HP-UX B.11.11
perl: 5.6.1
Thanks.
each of which create an Expect object. I'm getting the following
error:
Cannot create a new IO::Tty from fd -1: Invalid argument
The code I use to create the Expect object is as follows:
$self->{myFTPHandle}=new Expect;
$self->{myFTPHandle}->debug($debug);
$self->{myFTPHandle}->raw_pty(1);
$self->{myFTPHandle}->log_stdout(0); # Suppress writing of sftp
replies to stdout
The error is on the instantiation of the object (the new Expect call
above). I'm not sure what, exactly, is causing this error. Any help
would be much appreciated.
O/S: HP-UX B.11.11
perl: 5.6.1
Thanks.