lib/process/process.py
def start(self):
        ''' Starts the process according to current configuration. '''
        if self.alive():
            raise Exception('process has already been started')

        assert self._binary is not None and isinstance(self._binary, str), \
            'process binary is invalid: %r' % self._binary
        assert self._args is None or hasattr(self._args, '__iter__'), \
            'process args list is invalid: %r' % self._args

        process_args = [self._binary]
        if self._args:
            process_args.extend(self._args)

        popen_args = {
            'args': process_args,
            'stdin': self._filehandles.stdin,
            'stdout': self._filehandles.stdout,
            'stderr': self._filehandles.stderr,
            'cwd': self._cwd,
            'env': self._env,
        }
        logger.debug('arguments to Popen are: %r', popen_args)

        self._handle = subprocess.Popen(**popen_args)
 Starts the process according to current configuration. 
Starts the process according to current configuration.
Starts the process according to current configuration .
def start(self):
        if self.alive():
            raise Exception('process has already been started')
        assert self._binary is not None and isinstance(self._binary, str), \
            'process binary is invalid: %r' % self._binary
        assert self._args is None or hasattr(self._args, '__iter__'), \
            'process args list is invalid: %r' % self._args
        process_args = [self._binary]
        if self._args:
            process_args.extend(self._args)
        popen_args = {
            'args': process_args,
            'stdin': self._filehandles.stdin,
            'stdout': self._filehandles.stdout,
            'stderr': self._filehandles.stderr,
            'cwd': self._cwd,
            'env': self._env,
        }
        logger.debug('arguments to Popen are: %r', popen_args)
        self._handle = subprocess.Popen(**popen_args)
def start ( self ) : if self . alive ( ) : raise Exception ( 'process has already been started' ) assert self . _binary is not None and isinstance ( self . _binary , str ) , 'process binary is invalid: %r' % self . _binary assert self . _args is None or hasattr ( self . _args , '__iter__' ) , 'process args list is invalid: %r' % self . _args process_args = [ self . _binary ] if self . _args : process_args . extend ( self . _args ) popen_args = { 'args' : process_args , 'stdin' : self . _filehandles . stdin , 'stdout' : self . _filehandles . stdout , 'stderr' : self . _filehandles . stderr , 'cwd' : self . _cwd , 'env' : self . _env , } logger . debug ( 'arguments to Popen are: %r' , popen_args ) self . _handle = subprocess . Popen ( ** popen_args )
Starts the process according to current configuration.
Starts the process according to current configuration .
''' Starts the process according to current configuration. '''
self