[Haskell-cafe] best runProcess solution to work with windows and linux

Andrew U. Frank frank at geoinfo.tuwien.ac.at
Wed Aug 27 08:40:07 EDT 2008


i use System.POSIX.IO to run a process and access the handles (after due
transformation) to get the values back.
this solution is unfortunately not portable and works only on unix (or
cygwin) but not for plain windows. there seems to be a somewhat
comparable package in system.win32.process.
is there a solution independent of OS? what is the best approach to use
to run a process and read the result back which works in both unix and
windows?

any suggestion highly appreciated!

andrew




More information about the Haskell-Cafe mailing list