[racket] raco-commands and planet installs

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Tue Jun 12 15:35:08 EDT 2012

If I have a PLaneT package that sets "raco-commands" in "info.rkt", and 
when the package is installed from PLaneT via DrRacket, it appears that 
the command is run, like the module is fully "require"d.

(I noticed because the command without any arguments does a directory 
traversal from current directory, and it appears the current directory 
was "/".)

Anyone know offhand whether this is the case, and if so, how to get 
around it?

Tell "raco-commands" a small file that's just a wrapper around the real 
implementation file, and have the small wrapper file be in 
"compile-omit-files"?

Neil V.


Posted on the users mailing list.