[Cuis-dev] OSProcess standard output

Hilaire Fernandes hfern at free.fr
Sun Mar 15 12:33:13 PDT 2026


Hi Dave,

Thanks for the tips. I will check it out.

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?

| 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.

Is CommandShell the only way to have standard output with going through 
a file on disk?

Thanks

Hilaire

-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260315/3fe087b9/attachment.htm>


More information about the Cuis-dev mailing list