On Tue, 28 Feb 2006, Tom Hawkins wrote:
> It appears runCommand uses /bin/sh by default, but  our environment
> needs tcsh.  Is there any way to set an alternative shell?

Ideally, it would be better to fix your environment, but something
like this should work if you can't do that -

    runSh cmd = runProcess "/bin/tcsh" ["-c", cmd] Nothing Nothing
                Nothing Nothing Nothing

The 2nd parameter is argv with argv[0] gratuitously removed.

        Donn Cave, [EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to