Try:

  (setq *Str (in '(/bin/ls) (till NIL T)))

Each entry will be separated by a newline "^J"

There are other ways to do this...


AW

On Thu, 25 Apr 2024, Patrick Lebas wrote:

How can I get the Stream-out from
(call 'ls) and put it into a string  (setq str...) ?  THANKS.
Envoyé à partir de Outlook pour Android<https://aka.ms/AAb9ysg>

Reply via email to