Check out define-runtime-path in the docs

> On May 11, 2015, at 10:19 PM, thomas.lynch 
> <thomas.ly...@reasoningtechnology.com> wrote:
> 
> I apologize if this posted before, but given a day I don't see it here..
> 
> I have a function with a companion data file (data file is part of the 
> collection).  When I invoke it with a relative path name (just the file 
> name), racket looks for it in the directory the function is invoked from, not 
> the directory the module is in.
> 
> This was ok during development, but now that the module is installed it is a 
> problem.  The collects path does not help, as directory install does not move 
> the collection.  I think maybe (get-module-path)  but I haven't been able to 
> get it work.  
> 
> Any tips appreciated!
> 
> -- 
> 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.

Reply via email to