
29 Mar
2004
29 Mar
'04
1:35 p.m.
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