add rawSystem variant that takes an environment
rawSystem properly handles the case of Ctl-C while waiting. Instead of requiring people to recreate this behavior when using runProcess, it would be good if we add and export a rawSystemWithEnv or directly export syncProcess.
See for example: https://github.com/haskell/cabal/issues/1448
Edited by Herbert Valerio Riedel