[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: process* in MSDOS (Win 95) ?



Matthew Flatt wrote:
> 
> Quoting John Clonts:
> > (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?
> 
> It should have worked.
> 
> a.exe flushes its output before exiting, right? (Of course, if it's a C
> program using stdout, then the C library would take care of that.)
> 
> Otherwise, I'm out of ideas. Certainly it works for me in 102, and I'm
> farily certain it worked in 101.

It works for you under Windows 95?  (Or some other win32 ver?)

John