[Cuis-dev] New User: Trouble Capturing Output of External Command

Michael McCaslin mmccaslin at lanier-engineers.com
Wed Apr 15 12:38:06 PDT 2026


Hi all-- first let me say thank you for creating Cuis!  I've wanted to
learn SmallTalk for a while but found it difficult to approach until I ran
across Cuis.

I'm trying to capture the output of an external command.  I have a command
which prints an authentication token that I can then use to access Google
Cloud APIs.  I've added OSProcess, but when I send the outputOf: message to
OSProcess the system complains that CommandShell is missing.  When I
attempt to add the CommandShell package, the image hangs indefinitely.  I'm
running Cuis 7.7-7777 on an up-to-date Ubuntu 24.04.

Is there a simpler way to run an external process and capture the output?
Or any way to do this without utilizing CommandShell?

n.b. I also tried adding '/bin/ls' to the global SmallTalk dictionary at
#CommandShell, but I think I am barking up the wrong tree there.

I'd appreciate any help the list can provide.

Regards,


Michael McCaslin

*Director of Technology*

*Lanier & Associates Consulting Engineers, Inc*.

Office: 504.895.0368
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260415/a4eeb111/attachment.htm>


More information about the Cuis-dev mailing list