It looks like that was the problem. Thanks!<div><br></div><div>However, if I add (place-wait p) after defining p as the place, DrRacket runs out of memory (and never prints anything), while Racket gives a "place: scheduler pipe failed" error and runs the place body about 50 times. Anything else obvious I'm missing?<br>
<br><div class="gmail_quote">On Wed, Oct 17, 2012 at 10:26 PM, Robby Findler <span dir="ltr"><<a href="mailto:robby@eecs.northwestern.edu" target="_blank">robby@eecs.northwestern.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does your racket program exit before the place runs?<br>
<br>
Robby<br>
<div><div class="h5"><br>
On Wed, Oct 17, 2012 at 11:12 PM, Nick Shelley <<a href="mailto:nickmshelley@gmail.com">nickmshelley@gmail.com</a>> wrote:<br>
> It's usually the case that I'm just missing something obvious, but when I<br>
> have a file that just creates a place that prints something and I run it in<br>
> DrRacket, I see the thing printed after a slight pause, but when I run the<br>
> file with the racket executable from the command line, I don't see anything.<br>
> Just to make sure it wasn't some output-port difference, I also had this<br>
> code:<br>
><br>
> (require racket/place)<br>
> (define p (place x (system "touch /tmp/file")))<br>
><br>
> and sure enough, when run from DrRacket that file gets created, but not when<br>
> run from the command line.<br>
><br>
> Can someone explain what I'm missing?<br>
><br>
</div></div>> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
><br>
</blockquote></div><br></div>