[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
process* in MSDOS (Win 95) ?
Whenever I try to read from the stdout of a process*, it returns #<eof>.
To wit:
(define cmd "d:\\djgpp\\johnsrc\\misc\\a.exe")
(define ports (process* cmd))
(define (status) ((list-ref ports 4) 'status))
(define (readnext)(read (car ports)))
> (status)
done-ok
> (readnext)
#<eof>
(My a.exe writes "hello\nworld" to stdout).
Is this a limitation, bug, or am I misusing this facility in some way?
Cheers,
John
P.S. DrScheme 101
- References:
- I/O bugs
- From: Matthew Flatt <mflatt@cs.utah.edu>