
13 Dec
2007
13 Dec
'07
7:48 a.m.
Hello haskell-cafe, please help me with selection of proper function to use i need to run external command with parameter and get its stdout, smth like this: output <- system "cmd param" the code should be compatible with unix and windows, and it should be possible to execute scripts (so afaiu it should execute command via cmd/sh). i use ghc 6.6.1 and it will be great if this function will not require any non-bundled libs and be compatible with later ghc versions -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com