[Haskell-cafe] HToolkit HSQL on Windows/GHC

Graham Klyne GK at ninebynine.org
Mon Mar 29 14:35:15 EST 2004


At 10:59 29/03/04 +0100, Keith Wansbrough wrote:
> > > Another thought, which I hesitate to even mention, would be to call the
> > > commandline tool via System.Cmd, pipe the results to a file, and read
> > > the file, and parse the results. Slow and ugly, but you could have it
> > > working in an hour.
> >
> > Hadn't even thought of that, must be my clean upbringing.
>
>No need even to use a file; just have it output to a pipe and read 
>directly from the pipe...

Like POpen for GHC/Posix?  I'm having some trouble getting this to work for 
Hugs/Windows (even though the basic piping code for Windows is demonstrated 
to work).

#g


------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact



More information about the Haskell-Cafe mailing list