<div dir="ltr">Thank you. This looks perfect.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 5, 2022 at 8:39 PM David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Jan 05, 2022 at 03:01:55PM -0500, David O'Toole wrote:<br>
> I think I answered my own question and will look into OSProcess /<br>
> CommandShell.<br>
> I've built an Emacs frontend for the system already, Squeak should be<br>
> interesting :)<br>
> <br>
> On Wed, Jan 5, 2022 at 2:59 PM David O'Toole <<a href="mailto:deeteeoh1138@gmail.com" target="_blank">deeteeoh1138@gmail.com</a>> wrote:<br>
> <br>
> > Is it possible to communicate with a Lisp interpreter via standard I/O<br>
> > running as a subprocess? I am considering building a Squeak graphical<br>
> > frontend for a musical project that is written in S7 Scheme.<br>
> ><br>
<br>
You may be able to take some inspiration from PipeableOSProcess class>>tkExample<br>
<br>
If you inspect "PipeableOSProcess tkExample" you will get a proxy object<br>
in Squeak that is connected through stdio pipes to a tk shell (/usr/bin/wish).<br>
A small tk window will have opened elsewhere on your computer screen,<br>
and you can click on the buttons to see it work. After you click the<br>
exit button in the tk window, you will see the proxy in Squeak updated<br>
with the exited process status.<br>
<br>
I expect that you will be able to do the same sort of thing with a Lisp<br>
interpreter shell.<br>
<br>
Note, I am using a Linux system. This will probably also work on OS X,<br>
but it will not work on Windows.<br>
<br>
Dave<br>
<br>
<br>
<br>
</blockquote></div>