[racket] Checking whether running from DrRacket.

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Wed Feb 13 11:41:49 EST 2013

Hello,

Is there a way for a program to know if it's running from inside DrRacket
or from the command line?

I would like to run a main function when from command line, and don't run
it when in DrRacket.

Thanks!
P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130213/fbd848b9/attachment-0001.html>

Posted on the users mailing list.