[plt-scheme] null-port ? and system*/exit-code

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Mar 11 05:04:30 EDT 2007

On Mar 10, Paulo J. Matos wrote:
> [...]
> Any ideas on how to define a null-port or ignore output from command
> in system*/exit-port?

You can use `open-output-nowhere', or you can just use

  (open-output-file "/dev/null" 'append)

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.