[CM] new: cm3 command line options

Ben McAllister benmca at gmail.com
Mon Apr 20 11:29:00 PDT 2009


Hi -

Build went very smoothly.  However, I'm getting an error trying to load a
file:

william-mcallisters-macbook-pro:bin ben$ ./cm --load
../../../../Documents/csound/test.lisp
JUCE v1.46
JUCE v1.46 (c) 2009 Julian Storer
SndLib 20.11 (c) 2009 William Schottstaedt
 /\\\
---\\\---------
----\\\--------
----/\\\------- Common Music 3.2.4
---/--\\\------
--/----\\\-----
 /      \\\/

;io-error open-input-file: can't open /Applications/cm/src/cm.lisp,
../../../../Documents/csound/test.lisp[2]
io-error
cm>

Any ideas?

Thanks!
b

On Mon, Apr 20, 2009 at 3:17 AM, Heinrich Taube <taube at uiuc.edu> wrote:

> I've recently moved to Mac and am trying to do the same with CM3.  i.e you
>> cannot pass the mac 'cm' binary a file to evaluate i.e.
>>
>
> actually i added command line options to the cm app this past weekend,
> including --load, --eval and --batch options.   you can provide multiple
> --eval and --load options, they are processes in a left-to-right manner.
> here is the set i have so far:
>
> hkt$ cm --help
> Usage: cm [options]
> options:
>  --version     print version and exit
>  --help        print help and exit
>  --load <file> load file
>  --eval <expr> evaluate expression
>  --batch       process options and exit
>  --quiet       don't print startup banner
>
> i also completly rewrote the read-loop, it now handles multi-line input
> much better. if you are using the cm console app you should definately do a
> svn update.  i removed the 'q' option for quitting, use the (quit) function
> to quit instead.
>
>
>


-- 
Listen Faster: http://www.listenfaster.com - audio, film and technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20090420/0e47605c/attachment-0001.html 


More information about the Cmdist mailing list