00:01:16 -!- rme [rme@BA490E2.47C9A248.699BA7A6.IP] has quit [Ping timeout] 00:02:40 -!- rme [~rme@50.43.137.82] has quit [Ping timeout: 240 seconds] 01:00:30 rme [~rme@dynamic-acs-24-101-209-69.zoominternet.net] has joined #ccl 01:00:58 rme_ [~rme@50.43.148.57] has joined #ccl 01:04:32 -!- rme [~rme@dynamic-acs-24-101-209-69.zoominternet.net] has quit [Ping timeout: 240 seconds] 01:04:32 -!- rme_ is now known as rme 01:30:10 rme_ [~rme@50.43.135.210] has joined #ccl 01:31:02 -!- rme [~rme@50.43.148.57] has quit [Ping timeout: 240 seconds] 01:31:02 -!- rme_ is now known as rme 02:18:47 -!- sellout [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has quit [Remote host closed the connection] 02:23:18 jhickner [~jhickner@c-24-19-102-29.hsd1.wa.comcast.net] has joined #ccl 02:24:53 pardon me good sirs. I have a question about *unprocessed-command-line-arguments*. It works fine in the repl, but once I ccl:save-application, it always returns nil. Is that normal? 02:28:36 If I do (save-application "/tmp/foo" :prepend-kernel t), and then type "/tmp/foo -- -foo -bar" at the shell prompt, I see that *unprocessed-command-line-arguments* => ("-foo" "-bar") as expected. 02:31:26 for some reason that doesn't work for me, although if I start ccl with 'ccl -- foo bar', that var will be populated correctly 02:31:38 i'm using ccl64 on osx, you? 02:32:37 Same for me. 02:33:41 Version 1.6-r14468M (DarwinX8664)? 02:34:22 I'm using the latest trunk, but the command-line parsing code hasn't changed in a while. What exactly were the commands you used? 02:35:49 (ccl:save-application "test" :prepend-kernel t) 02:36:09 then ./test -- foo bar 02:37:07 I have a :toplevel-function in there too 02:37:23 (defun main () (print *unprocessed-command-line-arguments*)) 02:38:08 I'll update to the latest and see if that makes a difference, just in case 02:38:11 thanks for your help 02:39:57 I believe the default top-level function does the command-line argument processing. If you use a custom one. you won't get them. 02:46:13 -!- gb__ [~gb@c-68-84-152-249.hsd1.nm.comcast.net] has quit [Quit: Leaving] 02:46:34 gbyers [~gb@c-68-84-152-249.hsd1.nm.comcast.net] has joined #ccl 02:48:28 sellout [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has joined #ccl 02:53:23 rme_ [~rme@50.43.165.195] has joined #ccl 02:54:25 -!- rme [~rme@50.43.135.210] has quit [Ping timeout: 258 seconds] 02:54:25 -!- rme_ is now known as rme 02:54:38 -!- rme [rme@D988F75B.80B03224.699BA7A6.IP] has quit [Ping timeout] 03:18:07 rme_ [~rme@50.43.157.13] has joined #ccl 03:19:37 -!- rme [rme@E6FB7697.F24E525C.699BA7A6.IP] has quit [Ping timeout] 03:19:38 -!- rme_ is now known as rme 03:19:55 oh, I see. so is it possible to make a command-line app then? 03:20:21 -!- rme [~rme@50.43.165.195] has quit [Ping timeout: 276 seconds] 03:20:21 -!- rme_ is now known as rme 03:22:42 The best way is probably to use a tiny shell wrapper. See http://trac.clozure.com/ccl/ticket/605 03:31:15 ahh ok, that ticket mentions *COMMAND-LINE-ARGUMENT-LIST*. I'll see if that gets populated even with a redefined toplevel. 03:39:30 i think that a lot of people just use --eval 03:58:55 -!- rme [rme@E0B8021A.E6A1271C.699BA7A6.IP] has quit [Ping timeout] 04:00:10 -!- rme [~rme@50.43.157.13] has quit [Ping timeout: 240 seconds] 05:19:25 jdijk [jdijk@ftth-212-84-159-210.solcon.nl] has joined #ccl 05:44:18 -!- sellout [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has quit [Ping timeout: 258 seconds] 06:38:28 -!- jhickner [~jhickner@c-24-19-102-29.hsd1.wa.comcast.net] has left #ccl 06:57:12 -!- jdijk [jdijk@ftth-212-84-159-210.solcon.nl] has quit [Ping timeout: 240 seconds] 08:13:37 -!- dsantiago [~dsantiago@c-98-226-186-156.hsd1.il.comcast.net] has quit [Quit: Computer has gone to sleep.] 09:22:34 jdijk [jdijk@ftth-212-84-159-210.solcon.nl] has joined #ccl 11:20:13 dsantiago [~dsantiago@c-98-226-186-156.hsd1.il.comcast.net] has joined #ccl 11:34:24 sellout [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has joined #ccl 11:43:50 -!- sellout [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has quit [Ping timeout: 250 seconds] 11:44:46 sellout [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has joined #ccl 13:05:39 hargettp [~hargettp@pool-71-174-137-214.bstnma.east.verizon.net] has joined #ccl 13:28:11 -!- jdijk [jdijk@ftth-212-84-159-210.solcon.nl] has quit [Ping timeout: 240 seconds] 13:41:46 Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has joined #ccl 13:42:40 -!- Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Max SendQ exceeded] 13:43:30 Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has joined #ccl 16:44:15 -!- hargettp [~hargettp@pool-71-174-137-214.bstnma.east.verizon.net] has quit [Quit: Leaving...] 16:55:50 hargettp [~hargettp@pool-71-174-137-214.bstnma.east.verizon.net] has joined #ccl 17:20:55 -!- sellout [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has quit [Ping timeout: 260 seconds] 17:24:43 sellout1 [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has joined #ccl 17:42:24 -!- hargettp [~hargettp@pool-71-174-137-214.bstnma.east.verizon.net] has quit [Quit: Leaving...] 17:43:23 jdijk [jdijk@ftth-212-84-159-210.solcon.nl] has joined #ccl 18:22:41 -!- jdijk [jdijk@ftth-212-84-159-210.solcon.nl] has quit [Ping timeout: 268 seconds] 18:49:49 -!- sellout1 [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has quit [Remote host closed the connection] 19:40:31 -!- gbyers [~gb@c-68-84-152-249.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 19:50:08 gbyers [~gb@c-68-84-152-249.hsd1.nm.comcast.net] has joined #ccl 20:28:09 sellout [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has joined #ccl 21:02:09 jdijk [jdijk@ftth-212-84-159-210.solcon.nl] has joined #ccl 21:02:30 -!- jdijk [jdijk@ftth-212-84-159-210.solcon.nl] has quit [Client Quit] 23:51:54 -!- sellout [~Adium@c-67-176-94-251.hsd1.co.comcast.net] has quit [Ping timeout: 240 seconds]