You should use `define-runtime-path` as follows:

(define-runtime-path worker "place-worker.rkt")

... (dynamic-place worker 'place-main) ...

Sam

On Tue, Jan 10, 2017 at 1:00 AM, Andreas Olsson <photoguy....@gmail.com> wrote:
> Lock the example in http://docs.racket-Lang.org/reference/places.html
>
> That works when the files are in the same directory and run from there. But 
> if you make this into a package the line providing the path to 
> place-worker.rkt doesn't work.
>
> How do you get the path to place-worker.rkt when it's loaded as a package in 
> racket.
>
> --
> 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