Re: Why this hangs clisp?
- From: Sam Steingold <sds@xxxxxxx>
- Date: Tue, 27 Sep 2005 17:40:28 -0400
> * <nfgronxbi@xxxxxxxxx> [2005-09-27 14:23:51 -0700]:
>
> (let ((files (list-directory "C:/Music")))
> (dolist (item files)
> (setq cmd-str (concatenate 'string "mpgtx -i " (namestring item)))
> (with-open-stream (*output* (ext:run-shell-command cmd-str :output
> :stream))
> (loop for line = (read-line *output* nil)
> when line do
while line
> (progn
> (format t "~a~%" line))))))
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.openvotingconsortium.org/> <http://pmw.org.il/>
<http://www.camera.org> <http://truepeace.org> <http://ffii.org/>
The early worm gets caught by the bird.
.
- References:
- Why this hangs clisp?
- From: astebakov
- Why this hangs clisp?
- Prev by Date: Re: C++ and lisp and Games
- Next by Date: Re: Why this hangs clisp?
- Previous by thread: Why this hangs clisp?
- Next by thread: Re: Why this hangs clisp?
- Index(es):