<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Hilaire,</p>
<p>CommandShell for Cuis is not complete, but it may be good enough to do what you want here.</p>
<p>The repository is at <a href="https://github.com/dtlewis290/Cuis-Smalltalk-CommandShell">https://github.com/dtlewis290/Cuis-Smalltalk-CommandShell</a></p>
<p>If you can clone it and do "Feature require: #CommandShell' you should then be able to do this:</p>
<p><span style="font-family: 'courier new', courier, monospace; font-size: 12pt;">(ProxyPipeline command: 'ls | cat | wc') upToEndOfFile</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 12pt;">==> '     13      13     172</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 12pt;"> ' .</span></p>
<p>See the class comment for ProxyPipeline and the examples in ProxyPipeline class>>#command:</p>
<p>I have to emphasize that this package is not complete, and additional thinking is needed to figure out how to make it work well in Cuis. Nevertheless, the ProxyPipeline may be of some use even now.</p>
<p>HTH,</p>
<p>Dave </p>
<div id="signature"></div>
<p><br /></p>
<p id="reply-intro">On 2026-03-15 10:47, Hilaire Fernandes via Cuis-dev wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1" style="color: #000000; background-color: #ffffff;">
<p><span style="font-size: large;">Hi, </span></p>
<p><span style="font-size: large;">How to get the standard output from a command executed by OSProcess:</span></p>
<p><span style="font-size: large;">    OSProcess evaluate: 'ls | cat | wc' </span></p>
<p><span style="font-size: large;">This command does not work. CommandShell missing.</span></p>
<p><span style="font-size: large;">Is there another way to get the standard output?</span></p>
<p><span style="font-size: large;">Thanks</span></p>
<p><span style="font-size: large;">Hilaire</span></p>
<pre class="v1moz-signature">-- 
<a class="v1moz-txt-link-freetext" href="http://mamot.fr/@drgeo" target="_blank" rel="noopener noreferrer">http://mamot.fr/@drgeo</a></pre>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
</blockquote>
</body></html>