(defun OBEY (S)
       (sb-ext::process-exit-code
        (sb-ext::run-program "/bin/sh" (list "-c" S) :input t
         :output *standard-output* :error *standard-output*)))

and would be somehow happy if I wouldn't have to do this.

That looks reasonable.  Currently we have 't' which means
'*termianl-io*'.  Usualy termial IO is the same as standard
output, but sometimes sbcl is doing crazy things with it.
AFAICS we _never_ want sbcl '*termianl-io*'.

Thank you. Would that mean that I could prepare a patch to change OBEY in vmlisp.lisp to

#+:sbcl
(defun OBEY (S)
   #-:win32 (sb-ext::process-exit-code
             (sb-ext::run-program "/bin/sh"
                    (list "-c" S) :input t :output *standard-output*
                                           :error *error-output*))
   #+:win32 (sb-ext::process-exit-code
             (sb-ext::run-program "sh"
                    (list "-c" S) :input t :output *standard-output*
                                           :error *error-output*)))

Or rather as I suggestet to ":error *standard-output*"?

For jfricas it wouldn't probably matter since I anyway set *error-output* to *standard-output*.

In fact, browsing through the FriCAS code, it seems that *error-output* is only used in the lisp optimizer.

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/70534ede-696d-d51a-01ed-4ee051a5a782%40hemmecke.org.

Reply via email to