[racket] Places acting differently in DrRacket and Racket
Does your racket program exit before the place runs?
Robby
On Wed, Oct 17, 2012 at 11:12 PM, Nick Shelley <nickmshelley at gmail.com> wrote:
> It's usually the case that I'm just missing something obvious, but when I
> have a file that just creates a place that prints something and I run it in
> DrRacket, I see the thing printed after a slight pause, but when I run the
> file with the racket executable from the command line, I don't see anything.
> Just to make sure it wasn't some output-port difference, I also had this
> code:
>
> (require racket/place)
> (define p (place x (system "touch /tmp/file")))
>
> and sure enough, when run from DrRacket that file gets created, but not when
> run from the command line.
>
> Can someone explain what I'm missing?
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>