Inferior Shell or UIOP: interaction with the background process

So, I got the actual getting program to run from SBCL Lisp using inferior-shell (presumably UIOP would be just fine). Anyway, now that I can do this, I still don’t know how to interact with the program if it runs in the background.

All these functions, such as pipes and streams associated with the stdin and stdout of the running program, are advertised, simply not documented. It would seem that this is the most basic thing to do.

Does anyone have an example of this behavior?

Any help is appreciated.

-Todd

+5
source share
1 answer

SBCL? RUN-PROGRAM : http://www.sbcl.org/manual/#Running-external-programs

, RUN-PROGRAM :input, :output :error.

, RUN-PROGRAM stream gnuplot ( , ). https://github.com/belambert/cl-gnuplot/blob/master/src/gnuplot.lisp#L18

+1

Source: https://habr.com/ru/post/1653305/


All Articles