Hi Greg,
On 16.04.23 18:25, Grégory Vanuxem wrote:
In src/interp/vmlisp.lisp you have:
#+:sbcl
(defun OBEY (S)
#-:win32 (if *OBEY-STDOUT*
(sb-ext::process-exit-code
(sb-ext::run-program "/bin/sh" (list "-c" S) :input t
:output *standard-output* :error *standard-output*))
(sb-ext::process-exit-code
(sb-ext::run-program "/bin/sh"
(list "-c" S) :input t :output t :error t)))
#+:win32 (sb-ext::process-exit-code
(sb-ext::run-program "sh"
(list "-c" S) :input t :output t :error t :search t)))
Oh, yes. Thank you. It seems that I forget my own code. However, it only
works currently for sbcl and with my patches for jfricas. So the
restriction to SBCL is what bothers me for the general case. For me
personally it might work, but otherwise... :-(
It somehow looks like Kurt used the same mechanism.
https://github.com/nilqed/spadlib/blob/master/pipe/src/pipe.spad
Ralf
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/c270ca4d-c543-376e-9a9a-c3e6be2daaf9%40hemmecke.org.