Hello,

I have a single line file (tmp.clj) where I am trying to
print *command-line-args*.
And I get an exception if I run it. I am not sure what I
am doing wrong here.

[parth:~]% cat tmp.clj
(prn *command-line-args*)

[parth:~]% clj tmp.clj hello world
nil
Exception in thread "main" java.io.FileNotFoundException: hello (No
such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at clojure.lang.Compiler.loadFile(Compiler.java:4395)
        at clojure.lang.Script.main(Script.java:65)

[parth:~]% clj tmp.clj
nil

I am using clojure from HEAD.
Any suggestions appreciated.

Thanks.
Parth

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
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