Update ProcessManager.py

NON-TTY device exception handled.