
22 Apr
2011
22 Apr
'11
2:45 p.m.
On Sat, 23 Apr 2011, Evgeny Tarasov wrote:
By the way, I'd like to use hugs extensively as sysadmin's universal scripting language.
Hugs is better in this respect because it starts much faster than runghc.
I think, it could be a great killer feature. But as far as I know, it doesn't have any facilities to run external programs and process their stdout, stderr end exit code.
Hugs is much more suitable for the task then ghc because of its compactness and portability. And some people think that haskell code is easier to maintain than shell scripts, perl or even python.
For GHC-6.0 and GHC-6.2, that is before runInteractiveProcess, we had the package: http://hackage.haskell.org/package/shell-pipe Maybe this can be used for Hugs.