How can I call the command to execute the whole batch file



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