Handle system processes in Cloud Haskell