Make Process.exec to return Result that posesses code, out and err.