On Thu, Oct 1, 2009 at 1:39 PM, Nick Day <[email protected]> wrote:

>
> Hey,
>
> I've just been trying to run a couple of simple commands using shell-
> out (e.g. (sh "dir")) in a repl in Windows command prompt, but am
> running up against errors of the type
>
> java.io.IOException: Cannot run program "dir": CreateProcess error=2,
> The system cannot find the file specified (NO_SOURCE_FILE:16)


Shell built-in commands. If you're directly launching an external process
from the JVM, there's no "dir" executable to find. You need to invoke it in
the command interpreter instead of directly. I'm unsure how to do that.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to