The `(current-environment-variables)` visible in command-line `racket` seem to 
be exactly what I see when I just do `env` in the shell. Makes sense.

But the `(current-environment-variables)` in DrRacket differ quite a bit: some 
are the same, some different, some missing, some new.

1) Where does DrRacket get its environment variables, if not from the logged-in 
user?

2) Is there an environment variable that I can use to test if a program is 
running in DrRacket? For instance, the "XPC_SERVICE_NAME" variable has the 
value "org.racket-lang.DrRacket.39428". Though AFAIK that is a Mac OS specific 
value.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to