lib/process/process.py
def cwd(self, cwd):
        ''' Sets the process working directory. '''
        if self.alive():
            logger.warning('process already started... no point setting cwd')

        assert isinstance(cwd, str), 'cwd must be a string: %r' % cwd
        if not is_directory(cwd):
            logger.warning('invalid working directory: %s', cwd)

        logger.debug('setting cwd to: %s', cwd)
        self._cwd = cwd
 Sets the process working directory. 
Sets the process working directory.
Sets the process working directory .
def cwd(self, cwd):
        if self.alive():
            logger.warning('process already started... no point setting cwd')
        assert isinstance(cwd, str), 'cwd must be a string: %r' % cwd
        if not is_directory(cwd):
            logger.warning('invalid working directory: %s', cwd)
        logger.debug('setting cwd to: %s', cwd)
        self._cwd = cwd
def cwd ( self , cwd ) : if self . alive ( ) : logger . warning ( 'process already started... no point setting cwd' ) assert isinstance ( cwd , str ) , 'cwd must be a string: %r' % cwd if not is_directory ( cwd ) : logger . warning ( 'invalid working directory: %s' , cwd ) logger . debug ( 'setting cwd to: %s' , cwd ) self . _cwd = cwd
Sets the process working directory.
Sets the process working directory .
''' Sets the process working directory. '''
self
cwd