Hello,
probably a simple problem...
I try to run oracle sqlplus from clisp. The query return results but I
cannot exit from reading the stream. Any ideas?
(defun run-sqlplus (pathname login sql-query)
(let*
((args (list "-S" login (format nil ยท@~A" sql-query)))
(s (run-program pathname :arguments args :output :stream)))
(loop (let ((l (read-line s nil )))
(if l (print l) (return))))))
Thanks.