[PD] Re: access environment variables from Pd?

Kjetil Svalastog Matheussen <k.s.matheussen@notam02.no> k.s.matheussen at notam02.no
Thu Jun 23 17:53:43 CEST 2005


Mathieu Bouchard:
>
> On Wed, 22 Jun 2005, Frank Barknecht wrote:
>>> Does anyone know if it's possible to access Linux environment variables
>>> from within Pd?  ie, in a message object?  ...or would I have to write
>>> an external for this?
>> You could do it with pyext:
>
> you can also do it in Ruby:
>
or Guile:

(pd-inlet 0 'any
            (lambda (x)
                (pd-outlet 0 (getenv x))))








More information about the Pd-list mailing list