technomancy/leiningen — Issue #321: (exit) command doesn't work when within a project
Author: klauern
Created: 2011-11-13 02:11:59+00:00
State: open

If I'm in a `lein repl`, I can call `(exit)` from the user namespace just fine:

```
PS C:\mydocs> lein repl
REPL started; server listening on localhost port 46464
user=> (exit)
PS C:\mydocs>
```

But, if I'm within any Leiningen project, this command doesn't work at all:

```
PS C:\mydocs\Clojure> lein new sample
Created new project in: C:\mydocs\Clojure\sample
Look over project.clj and start coding in sample/core.clj
PS C:\mydocs\Clojure> cd .\sample
PS C:\mydocs\Clojure\sample> lein repl
Copying 1 file to C:\mydocs\Clojure\sample\lib
REPL started; server listening on localhost port 4088
user=> (exit)
CompilerException java.lang.RuntimeException: Unable to resolve symbol: exit in this context, compiling:(NO_SOURCE_PATH:1)
user=>
```