From: Robert D. <rob...@gm...> - 2014-11-08 06:40:19
|
On 2014-11-07, z_axis <z_...@16...> wrote: > Can maxima pretty print it as: > > Lisp options: (-n -Q) > Desktop > HyperSpec > tmp.tex > ... > > Especially suppressing the tail "#<EXTERNAL-PROCESS ...". My advice is to capture the output you want into a file. Otherwise the output you want is mixed up with other stuff (it's probably more or less impossible to suppress absolutely everything else) and then you have to filter out the noise and parse the stuff you want. Let's say your Lisp function is named FOO. Then something like: with_stdout ("my_output.txt", ?foo (my_foo_args)); captures its output. But if you just want the output of ls, you can get that more easily than executing Maxima to call a Lisp function ... I assume there is some bigger picture here that I'm not seeing. best Robert Dodier |