Update ProcessManager.py

NON-TTY exception handled.