Refactor cross-plattform process spawning from ghc-inplace into shell-tools.c