On 5/27/07, <b class="gmail_sendername">Naruto Canada</b> <<a href="mailto:narutocanada@yahoo.ca">narutocanada@yahoo.ca</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi<br><br>how to exec shell command then collect result as a<br>string? (like with perl $a=`ls`;)<br>I need to call maple and collect the result.<br>shell-command seems to return only exit status.</blockquote><div><br>You could do something like:
<br>
<br>
(read-line (open-process "ls") #f)<br>
<br>
<br>
Guillaume<br></div></div>