|
From: | Jinsong Liang |
Subject: | Re: [Chicken-users] capture command output |
Date: | Wed, 10 Jul 2013 11:10:47 -0400 |
Hi Jinsong!
* Jinsong Liang <address@hidden> [130710 16:54]:
> Sorry if this is a question answered before.You can use with-input-from-pipe from the posix unit:
>
> How can I capture the output of a shell command?
(use posix)
(with-input-from-pipe "ls" read-lines)
HTH,
Christian
--
In the world, there is nothing more submissive and weak than
water. Yet for attacking that which is hard and strong, nothing can
surpass it. --- Lao Tzu
[Prev in Thread] | Current Thread | [Next in Thread] |