uniread doesn't wait for child processes
Brought to you by:
guyro
Hi,
I just started trying uniread (for sqlplus - what else :-) and I've
discovered it only works about 1 time in 10. The other 9 it jumps
into the main loop and $pty_open gets set to 0 in the first loop -
the connection is closed and everything stops - no error message.
I tried adding a sleep to give the child a chance to start up - but
this had no effect.
Has anyone else had this problem?
Is there a more reliable way of checking for child-life?
Steve
Logged In: YES
user_id=743899
Hi Steve,
Could you please run "uniread --version" and post the output
here?
Logged In: YES
user_id=598094
Originator: NO
I am having a similar problem:
$ uniread --version
[uniread] This is uniread 1.01
[uniread] Running Perl 5.8.8 on darwin-2level
[uniread] IO::Tty version is 1.07
[uniread] Term::ReadLine version is 1.02
[uniread] ReadLine is Term::ReadLine::Gnu, version 1.17
[uniread] GNU readline version is 5.2
$ sqlplus scott/tiger@TESTDB
SQL*Plus: Release 10.2.0.4.0 - Production on Sun Jun 8 13:50:25 2008
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
$ uniread --verbose sqlplus scott/tiger@TESTDB
[uniread] This is uniread 1.01
[uniread] Running Perl 5.8.8 on darwin-2level
[uniread] IO::Tty version is 1.07
[uniread] Term::ReadLine version is 1.02
[uniread] ReadLine is Term::ReadLine::Gnu, version 1.17
[uniread] GNU readline version is 5.2
[uniread] Reading history from /Users/phil/.uniread/sqlplus
[uniread] Loaded history (0 lines)
[uniread] Writing history to /Users/phil/.uniread/sqlplus
[uniread] Saved history (0 lines)
$