<div dir="ltr"><div>Hey Eric,</div><div><br></div><div>probably not following the best practices of OSProcess either but you may find some code useful for copying here regardless:</div><div><a href="https://github.com/hpi-swa-lab/sb-tree-sitter/blob/master/packages/Sandblocks-TreeSitter/SBTSLanguageClient.class.st#L54">https://github.com/hpi-swa-lab/sb-tree-sitter/blob/master/packages/Sandblocks-TreeSitter/SBTSLanguageClient.class.st#L54</a></div><div><br></div><div>Best,</div><div>Tom<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 25, 2022 at 2:10 PM Eric Gade <<a href="mailto:eric.gade@gmail.com">eric.gade@gmail.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"><div dir="ltr"><div>Hello,</div><div><br></div><div>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?</div><div><br></div><div>To be specific, I am starting to toy around with the <a href="https://github.com/typescript-language-server/typescript-language-server" target="_blank">JS/Typescript LSP server</a>, which seems to expect input on stdin (rather than using sockets or whatnot)<br></div><div><br></div><div>Thanks!<br></div><div><br>-- <br><div dir="ltr"><div dir="ltr"><div>Eric</div></div></div></div></div>
<br>
</blockquote></div>