How to use the ptyprocess.PtyProcess.spawn function in ptyprocess

To help you get started, we’ve selected a few ptyprocess examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github univ-of-utah-marriott-library-apple / blade_runner / blade_runner / dependencies / pexpect / pty_spawn.py View on Github external
def _spawnpty(self, args, **kwargs):
        '''Spawn a pty and return an instance of PtyProcess.'''
        return ptyprocess.PtyProcess.spawn(args, **kwargs)
github CTSRD-CHERI / cheribuild / 3rdparty / pexpect / pexpect / pty_spawn.py View on Github external
def _spawnpty(self, args, **kwargs):
        '''Spawn a pty and return an instance of PtyProcess.'''
        return ptyprocess.PtyProcess.spawn(args, **kwargs)