<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">Hi Dave,</font></p>
<p><font size="4">Thanks for the tips. I will check it out.</font></p>
<p><font size="4">In the meantime I tried this with OSProcess
(thanks Nicola for your cookbook), but its seems the output
stream must be a file, which I would like to avoid. Am I
correct?</font></p>
<pre><font size="4">| proc d outStream |
d := Delay forMilliseconds: 50.
outStream := ReadWriteStream on: String new.
proc := UnixProcess
forkJob: '/usr/bin/bash'
arguments: {'-c'. 'ls -l'}
environment: nil
descriptors: {nil. outStream.nil}.
[proc runState == #complete] whileFalse: [d wait].
outStream contents.</font></pre>
<p><font size="4">Is CommandShell the only way to have standard
output with going through a file on disk?</font></p>
<p><font size="4">Thanks</font></p>
<p><font size="4">Hilaire</font></p>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo">http://mamot.fr/@drgeo</a></pre>
</body>
</html>