examples/myproc.py
def run(self):
        '''
        Process start to run here.
        '''

        # Delete the run file at exit. Maybe there will be no stop request.
        atexit.register(self.delrun)

        # Run while there is no stop request.
        n = 0
        while os.path.exists(RUNFILE):
            print('.')
            n += 1

            if (n > 60):
                break

            time.sleep(1)

        Process start to run here.
        
Process start to run here.
Process start to run here .
def run(self):
        atexit.register(self.delrun)
        n = 0
        while os.path.exists(RUNFILE):
            print('.')
            n += 1
            if (n > 60):
                break
            time.sleep(1)
def run ( self ) : atexit . register ( self . delrun ) n = 0 while os . path . exists ( RUNFILE ) : print ( '.' ) n += 1 if ( n > 60 ) : break time . sleep ( 1 )
Process start to run here.
Process start to run here .
'''
        Process start to run here.
        ''' # Delete the run file at exit. Maybe there will be no stop request. # Run while there is no stop request.
self