[Cuis-dev] get environment variable value

Mark Volkmann r.mark.volkmann at gmail.com
Sun Dec 8 17:22:02 PST 2024


In Cuis Smalltalk how can I get the value of an environment variable that
is defined in the process in which the image was started? I
thought perhaps this would work, but it doesn't.

process := Processor activeProcess.
home :- process environmentAt: 'HOME' ifAbsent: [ '' ].

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241208/2bcf6529/attachment.htm>


More information about the Cuis-dev mailing list