[Haskell-cafe] an OS-independent executeFile??
Vasili I. Galchin
vigalchin at gmail.com
Thu Mar 26 18:27:21 EDT 2009
ok .. how about API independent? ;^)
On Thu, Mar 26, 2009 at 5:14 PM, Jonathan Cast <jonathanccast at fastmail.fm>wrote:
> 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!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090326/3ca5ce99/attachment.htm
More information about the Haskell-Cafe
mailing list