
On 16 August 2004 15:37, Carsten Schultz wrote:
Hi!
On Mon, Aug 16, 2004 at 03:31:04PM +0100, Claus Reinke wrote:
a cursory browse of the sources shows up things like "POpen" and "Posix", both no-nos, as far as portable ghc code is concerned (no longer supported in the default ghc for windows, AFAIK). it would be good if ghc-users would keep that in mind when writing portable Haskell code.
Maybe someone should have a look at popen functionality in Python. IMHO Python seems to have quite good libraries which work on Windows and Unix.
There is a portable System.Process library here: http://www.haskell.org/~simonmar/process/process.tar.gz Haddock docs here: http://www.haskell.org/~simonmar/process/System.Process.html This library is slated for inclusion in GHC 6.4. Cheers, Simon
participants (1)
-
Simon Marlow