[squeak-dev] OSProcess Question

Tom Beckmann tomjonabc at gmail.com
Thu Aug 25 12:16:52 UTC 2022


Hey Eric,

probably not following the best practices of OSProcess either but you may
find some code useful for copying here regardless:
https://github.com/hpi-swa-lab/sb-tree-sitter/blob/master/packages/Sandblocks-TreeSitter/SBTSLanguageClient.class.st#L54

Best,
Tom

On Thu, Aug 25, 2022 at 2:10 PM Eric Gade <eric.gade at gmail.com> wrote:

> Hello,
>
> I've been unable to find good documentation / examples of an OSProcess use
> case. How can I start an external process that remains running while I pipe
> data into its stdin and read data from its stdout?
>
> To be specific, I am starting to toy around with the JS/Typescript LSP
> server
> <https://github.com/typescript-language-server/typescript-language-server>,
> which seems to expect input on stdin (rather than using sockets or whatnot)
>
> Thanks!
>
> --
> Eric
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220825/64bd8cb3/attachment.html>


More information about the Squeak-dev mailing list