Menu

#2 can't redirect SqlLine input via System.setIn

closed-fixed
nobody
None
5
2005-08-05
2004-01-18
No

System.setIn doesn't work because jline reads directly
from FileDescriptor.in, which is final. jline has
ConsoleReader constructors for reading from other
streams, but SqlLine doesn't use them. Perhaps define
a property to tell SqlLine that input is being redirected?
Or expose a public invocation API taking a stream as input.

Discussion

  • Marc Prud'hommeaux

    • status: open --> closed-fixed
     
  • Marc Prud'hommeaux

    Logged In: YES
    user_id=33016

    Fixed for 1.0.1.

     

Log in to post a comment.