Logo Search packages:      
Sourcecode: zope-externaleditor version File versions  Download package

def ExternalEditor::zopeedit::EditorProcess::isAlive (   self )
Returns true if the editor process is still alive

Definition at line 658 of file zopeedit.py.

                         :
            """Returns true if the editor process is still alive"""
            try:
                exit_pid, exit_status = os.waitpid(self.pid, os.WNOHANG)
            except OSError:
                return 0
            else:
                return exit_pid != self.pid


Generated by  Doxygen 1.6.0   Back to index