Check the return code before writing PID file in Python start_app()
Merge pull request #5156 from mfojtik/python_return_check

Merged by openshift-bot