On Thu, Jan 19, 2017 at 7:29 PM, David Storrs <[email protected]> wrote: > On Thu, Jan 19, 2017 at 6:45 PM, Robby Findler > <[email protected]> wrote: >> In DrRacet, current-directory in initialized to the directory >> containing the file where you hit "Run" and in the shell it is >> initialized to the current directory as understood by the shell. >> >> Is that what you're asking? >> >> Robby > > I think so, yes. What is current-directory set to for the DrRacket repl?
It is initialized to the directory containing the file where you hit "Run". > On a related topic, Dr Racket does not seem to properly inherit the > environment from the shell. (getenv "PATH") from the repl does not > return the same value as "echo $PATH" from the shell. Does Dr Racket > have anything equivalent to a .bashrc file? If you were to open DrRacket by running `bin/drracket` (a shell script) or `racket -l drracket`, it will get the environment of that shell. If you run it by double clicking or using "open -a DrRacket" or "open file.rkt" (or other similar ways) it will start the process in an empty (emptier) environment. Robby -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

