Created
December 13, 2010 03:12
-
-
Save danking/738605 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to Racket v5.0.2. | |
> (require racket) | |
> (define rhino-process (process "rhino")) | |
> (define rhino-stdin (second rhino-process)) | |
> (define rhino-stdout (first rhino-process)) | |
> (define rhino-stderr (fourth rhino-process)) | |
> (display-lines (list "1 + 1") rhino-stdin) | |
> (port->string rhino-stdout) | |
C-c C-cuser break | |
=== context === | |
/usr/local/lib/racket/collects/mzlib/port.rkt:43:4: loop | |
/usr/local/lib/racket/collects/racket/port.rkt:28:0: port->string | |
/usr/local/lib/racket/collects/racket/private/misc.rkt:74:7 | |
> (port->string rhino-stdout) | |
"" | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment