in reply to Re: SQLPLUS connect database
in thread SQLPLUS connect database

See Capturing System Output.

Unfortunately, that thread only mentions backticks and piped opens. I would recommend one of the several modules I discussed here instead.