Lisp HUG Maillist Archive

Re: printing from LW process?

"Andreas Thiele" <nospam6329@nospam.com> wrote:

 >Hi,
 >
 >for debugging I'd like to print some output to the LispWorks 
listener from a running (mp) process.
 >Googling didn't help me and GMAME search on lisp-hug group 
doesn't work at the moment. I can't
 >remember how to do this a the moment.

You could put the following somewhere in your code and print to
*listener-output*:

(mp:process-send
  (mp:find-process-from-name "CAPI Execution Listener 1")
  `(,(lambda ()
       (setf *listener-output* *standard-output*))))

Francis

 >
 >Does anybody know an answer or a reference?
 >
 >Andreas
 >


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Updated at: 2020-12-10 08:50 UTC