Rename method to _process_incoming_line()
Refactor Popen + communicate
Refactor _popen from _popen_and_communicate
Refactor checking of exit status