an OS-independent executeFile??

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? Regards, Vasili

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.htm... ) works on both Unix and Windows.[1] jcc [1] This is not the same as OS-independent!

ok .. how about API independent? ;^)
On Thu, Mar 26, 2009 at 5:14 PM, Jonathan Cast
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.htm...) works on both Unix and Windows.[1]
jcc
[1] This is not the same as OS-independent!

On Thu, 2009-03-26 at 17:27 -0500, Vasili I. Galchin wrote:
ok .. how about API independent? ;^)
Last I checked VMS, OS/360 (NB: not dead by a long shot), etc. had APIs too. What you really mean is `does not break when run against Windows's pseudo-POSIX API despite Microsoft's best efforts' :) jcc

;^)
On Thu, Mar 26, 2009 at 5:32 PM, Jonathan Cast
On Thu, 2009-03-26 at 17:27 -0500, Vasili I. Galchin wrote:
ok .. how about API independent? ;^)
Last I checked VMS, OS/360 (NB: not dead by a long shot), etc. had APIs too.
What you really mean is `does not break when run against Windows's pseudo-POSIX API despite Microsoft's best efforts' :)
jcc
participants (2)
-
Jonathan Cast
-
Vasili I. Galchin