People hit this using GUI Emacs on macOS -- and use the
`exec-path-from-shell` Emacs Lisp package:

  https://github.com/purcell/exec-path-from-shell


<blockquote>

Ever find that a command works in your shell, but not in Emacs?

This happens a lot on OS X, where an Emacs instance started from the
GUI inherits a default set of environment variables.

This library solves this problem by copying important environment
variables from the user's shell: it works by asking your shell to
print out the variables of interest, then copying them into the Emacs
environment.

</blockquote>


The source is <270 lines of Emacs Lisp -- of which >200 is comments
and boilerplate.

Maybe someone could make an equivalent DrRacket plugin and provide it
as a Racket package?

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