best runProcess solution to work with windows and linux
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
On Wed, Aug 27, 2008 at 5:40 AM, Andrew U. Frank <frank@geoinfo.tuwien.ac.at
wrote:
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?
The System.Process module works well on both unix and windows: http://hackage.haskell.org/packages/archive/process/1.0.0.0/doc/html/System-...
any suggestion highly appreciated!
andrew
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Andrew U. Frank -
Philip Weaver