On 5/1/11, nicolas edel <firstname.lastname@example.org> wrote:The :input and :output arguments establish stdin/out for the process.
| CL-USER> (defvar proc (sb-ext:run-program "sh" nil
| :search t :input
| :stream :output :stream :pty :stream :wait nil))
The :pty argument ALSO establishes these.
So, when using :pty, don't use :input/:output.
Furthermore, :pty doesn't take :stream as an argument, just give it T
And afterwards, PROCESS-PTY gives the relevant stream.
* (defvar proc (sb-ext:run-program "sh" nil
:search t :pty t :wait nil))
I hope that helped a little. I see that sh complained about not
having a tty, I hope this won't become a problem for you.