Error handling on runProcess calls