(self, arguments)
return uid, gid
initialisation part of the start method
initialisation part of the start method
initialisation part of the start method
def _startInit(self, arguments):
        """initialisation part of the start method"""
        if self.running:
            raise Exception('cannot start a process that is already running')
        if not arguments:
            raise Exception('no executable has been assigned')
        self.status = 0
        self.setupCommunication()
        # We do this in the parent because if we do it in the child process
        # gdb gets confused when the application runs from gdb.
        uid = os.getuid()
        gid = os.getgid()
        self.running = True
        return uid, gid
def _startInit ( self , arguments ) : if self . running : raise Exception ( 'cannot start a process that is already running' ) if not arguments : raise Exception ( 'no executable has been assigned' ) self . status = 0 self . setupCommunication ( ) # We do this in the parent because if we do it in the child process # gdb gets confused when the application runs from gdb. uid = os . getuid ( ) gid = os . getgid ( ) self . running = True return uid , gid