> Without a doubt, but I don't know how to do it portably. One way
> would be to use System.Posix.Env.putEnv to put the vars into darcs'
> environment before calling System.Cmd.system, but System.Posix.Env is
> described as non-portable in the ghc docs.
That would certainly be the preferable solution. After all, we're not
portable already: we only support Ghc 6.2, 6.4 and 6.6.
So I'd suggest you do that. If you can check the above three versions
of Ghc, that's better, but I'll be glad to commit to the *unstable*
branch even without that.
> Another way would be to use runProcess with the equivalent of
> "$SHELL -c '<posthook-cmd>'"
That's going to lead to trouble.
Juliusz
_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel