<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Aug 27, 2008 at 5:40 AM, Andrew U. Frank <span dir="ltr">&lt;<a href="mailto:frank@geoinfo.tuwien.ac.at">frank@geoinfo.tuwien.ac.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
i use <a href="http://System.POSIX.IO" target="_blank">System.POSIX.IO</a> to run a process and access the handles (after due<br>
transformation) to get the values back.<br>
this solution is unfortunately not portable and works only on unix (or<br>
cygwin) but not for plain windows. there seems to be a somewhat<br>
comparable package in system.win32.process.<br>
is there a solution independent of OS? what is the best approach to use<br>
to run a process and read the result back which works in both unix and<br>
windows?<br>
</blockquote><div><br><br>
The System.Process module works well on both unix and windows:<br>
<br>
<a href="http://hackage.haskell.org/packages/archive/process/1.0.0.0/doc/html/System-Process.html">http://hackage.haskell.org/packages/archive/process/1.0.0.0/doc/html/System-Process.html</a><br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
any suggestion highly appreciated!<br>
<br>
andrew<br>
<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div>