There's not currently a way to set that path dynamically. I'm not sure what it would mean to call a Racket function to set that value, since the configuration path is used to read the initial settings of various parameters, such as `current-library-collection-paths`, that are needed to boot Racket.
I think maybe you don't want to set `--config-path`, but you want to instead want to store preferences in a different and separately configured path. But I may misunderstand. At Tue, 25 Sep 2018 11:45:01 -0700 (PDT), Lehi Toskin wrote: > In the docs for raco exe, there exists a switch `--config-path` that you > can specify to tell the executable to look in this directory for a config > file. Is there a way to set this as a runtime path instead? When OS X runs > my test program, it'll have Cmd-, set as the default shortcut for opening > the preferences which appears to use the default "etc" directory, but I > don't yet see a way to make the path be set to any user's .config (or maybe > XDG) directory. > > -- > 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. -- 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.