guile-user
[Top][All Lists]
Advanced

[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:34:30 +0800

On 7 November 2012 12:30, Daniel Hartwig <address@hidden> wrote:
> 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).

Discussed once or twice within the last few months.  See
<http://permalink.gmane.org/gmane.lisp.guile.user/9507>.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]