You are not logged in.

#1 2007-08-06 14:45:02

Weeks
Member
Registered: 2006-01-26
Posts: 91

Someone with a cd-rw, cdrdao and SBCL please, please, please help.

This is sending me insane. I can feel insanity's grip.

This used for work perfectly before, but now since upgrading SBCL it hasn't. I'm sure it's not my code because the unix call I'm using from SBCL is the same as the command-line version.

I'm using SBCL's RUN-PROGRAM form to call cdrdao to blank a CD-RW:

(run-program "cdrdao" (list
                         "blank" 
                         "--device /dev/cdrw")
                         :search t :output *standard-output*)

This brings up an error, claiming --device /dev/cdrw is a bad argument. However, on the command line "cdrdao blank --device /dev/cdrw" works fine. I want to work out if the problem pertains the arch linux build, or something else to do with the version update or something more voodoo, before I post this to the SBCL mailing list.

Please replace "--device /dev/cdrw" to your own CD-RW device drive if it's not the same.

Thank you intensely.
Please... please...

Last edited by Weeks (2007-08-06 14:46:07)

Offline

#2 2007-08-06 15:45:32

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: Someone with a cd-rw, cdrdao and SBCL please, please, please help.

I don't speak lisp, but this seems to work:

(run-program "cdrdao" (list
    "blank" 
    "--device"
    "/dev/cdrw")
    :search t :output *standard-output*)

Offline

#3 2007-08-06 20:25:45

Weeks
Member
Registered: 2006-01-26
Posts: 91

Re: Someone with a cd-rw, cdrdao and SBCL please, please, please help.

Strange, that works perfectly. Thank you so much!

How very bizarre.

Offline

Board footer

Powered by FluxBB