lib/process/process.py
def communicate(self, inpt=None, timeout=None):
        '''
        Sends data via stdin and reads data from stdout, stderr.
        This will likely block if the process is still alive.
        When `inpt` is `None`, stdin is immediately closed.
        When `timeout` is `None`, this waits indefinitely for the process to
        terminate. Otherwise, it is interpreted as the number of seconds to
        wait for until raising a `TimeoutExpired` exception.
        '''
        if not self.alive():
            logger.debug('process not alive, unlikely to block')

        assert self._handle is not None, '[internal] process handle is null'
        return self._handle.communicate(inpt, timeout)

        Sends data via stdin and reads data from stdout, stderr.
        This will likely block if the process is still alive.
        When `inpt` is `None`, stdin is immediately closed.
        When `timeout` is `None`, this waits indefinitely for the process to
        terminate. Otherwise, it is interpreted as the number of seconds to
        wait for until raising a `TimeoutExpired` exception.
        
Sends data via stdin and reads data from stdout, stderr.
This will likely block if the process is still alive.
When `inpt` is `None`, stdin is immediately closed.
When `timeout` is `None`, this waits indefinitely for the process to
terminate. Otherwise, it is interpreted as the number of seconds to
wait for until raising a `TimeoutExpired` exception.
Sends data via stdin and reads data from stdout stderr . This will likely block if the process is still alive . When ` inpt ` is ` None ` stdin is immediately closed . When ` timeout ` is ` None ` this waits indefinitely for the process to terminate . Otherwise it is interpreted as the number of seconds to wait for until raising a ` TimeoutExpired ` exception .
def communicate(self, inpt=None, timeout=None):
        if not self.alive():
            logger.debug('process not alive, unlikely to block')
        assert self._handle is not None, '[internal] process handle is null'
        return self._handle.communicate(inpt, timeout)
def communicate ( self , inpt = None , timeout = None ) : if not self . alive ( ) : logger . debug ( 'process not alive, unlikely to block' ) assert self . _handle is not None , '[internal] process handle is null' return self . _handle . communicate ( inpt , timeout )
Sends data via stdin and reads data from stdout, stderr.
Sends data via stdin and reads data from stdout stderr .
'''
        Sends data via stdin and reads data from stdout, stderr.
        This will likely block if the process is still alive.
        When `inpt` is `None`, stdin is immediately closed.
        When `timeout` is `None`, this waits indefinitely for the process to
        terminate. Otherwise, it is interpreted as the number of seconds to
        wait for until raising a `TimeoutExpired` exception.
        '''
self
inpt
timeout