[Haskell-cafe] an OS-independent executeFile??
Jonathan Cast
jonathanccast at fastmail.fm
Thu Mar 26 18:14:53 EDT 2009
On Thu, 2009-03-26 at 17:16 -0500, Vasili I. Galchin wrote:
> Hello,
>
> I have been looking through Hackage and using Hoogle to "fork
> and execute" a program in an OS-independent way, i.e. neutral from
> POSIX and Win32 APIs. Does such a library function exist?
System.Process.createProcess
( http://haskell.org/ghc/docs/latest/html/libraries/process/System-Process.html#v%3AcreateProcess ) works on both Unix and Windows.[1]
jcc
[1] This is not the same as OS-independent!
More information about the Haskell-Cafe
mailing list