[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in system?
From: |
Keith Wright |
Subject: |
Bug in system? |
Date: |
Tue, 6 Nov 2012 21:49:00 -0500 |
> (define x (with-output-to-string (lambda()(display "joy"))))
> x
$1 = "joy"
This is as expected.
> (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?
--
-- Keith Wright <address@hidden>
Programmer in Chief, Free Computer Shop <http://www.free-comp-shop.com>
--- Food, Shelter, Source code. ---
- Bug in system?,
Keith Wright <=