This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Sep 16, 2013, at 1:48 AM, Per Bothner <per@bothner.com> wrote: > The attached patch provides a more informative > result for (car (command-line)) - rather than plain "kawa". > I'd be interested in feedback in how portable it is: Windows, > MacOS, non-Sun/Oracle VMs (including ones that don't set the > sun.java.command property). (I also working on updating the > documentation.) With Oracle JDK 7u40 on Mac OS X 10.8, I get: $ java -jar kawa-1.13.1.jar #|kawa:1|# (write (car (command-line))) "java kawa-1.13.1.jar" $ java kawa.repl #|kawa:1|# (write (car (command-line))) "java kawa.repl" $ cat /tmp/test.scm (write (car (command-line))) (newline) $ java -jar kawa-1.13.1.jar -f /tmp/test.scm "java kawa-1.13.1.jar -f /tmp/test.scm" $ java kawa.repl -f /tmp/test.scm "java kawa.repl -f /tmp/test.scm" In other words, it seems to do what you'd expect. -- Jamison Hope The PTR Group www.theptrgroup.com
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |