[Maxima] How can I call the command to execute the whole batch file
Jaime Villate
villate at fe.up.pt
Fri Oct 30 04:19:31 CDT 2009
On Sex, 2009-10-30 at 08:26 +0800, Jie Liu wrote:
> I want to start a process in another application to execute a batch
> file of maxima, what should I call?
> void call_maxima(FILE* script)
> {
> unix("");// put the calling function here.
> }
Try: unix("maxima -r 'batchload(\"your_batch_file\")$'");
Or something more complex such as:
unix("LANG='pt_PT.UTF-8' maxima -r '(batchload(\"your_batch_file\"),
other_maxima_command)$'");
Regards,
Jaime
More information about the Maxima
mailing list