On 01/15/2013 11:55 PM, Jordan Ko wrote:
> $ /Applications/Maxima.app/Contents/MacOS/Maxima
> --batch-string="diff(sin(x),x);"
> $ /Applications/wxMaxima.app/Contents/MacOS/wxmaxima
> --batch-string="diff(sin(x),x);"
>
> However, when I tried that, I opened another Maxima terminal without
> running the commands and the command doesn't even show up. Does anyone
> have any suggestions on how to run maxima in command mode with
> something similar to
>
> /Applications/Maxima.app/Contents/MacOS/Maxima
> --batch-string="batchload('CoorWeights.wxm');"
Hi,
the following works for me, as part of a shell script:
/usr/bin/maxima -r "batchload(\"problemas.mac\");"
Of course, the Maxima script "problemas.mac" includes some commands that
create a file with the results I want to access later on from the shell
script.
Regards,
Jaime