[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in system?
From: |
Daniel Hartwig |
Subject: |
Re: Bug in system? |
Date: |
Wed, 7 Nov 2012 12:30:56 +0800 |
On 7 November 2012 10:49, Keith Wright <address@hidden> wrote:
> > (define y (with-output-to-string (lambda()(system "date"))))
> Tue Nov 6 21:42:41 EST 2012
> > y
> $2 = ""
>
> The stdout of the system call does not go into the string,
> why not?
with-output-to-string can not capture stdout, only output sent to real
scheme ports (via "display", for example).