On 5/27/07, Naruto Canada <narutocanada@yahoo.ca> wrote:
hi

how to exec shell command then collect result as a
string? (like with perl $a=`ls`;)
I need to call maple and collect the result.
shell-command seems to return only exit status.

You could do something like:

(read-line (open-process "ls") #f)


Guillaume