Give runtime error on wrong exit code
Do not inherit stdout in created process
Fix bug that cause wrong exit code error