Metadata-Version: 2.1
Name: ptyng
Version: 0.1.2
Summary: Pseudo-terminal utilities.
Home-page: https://github.com/JarryShaw/ptyng
Author: Jarry Shaw
Author-email: jarryshaw@icloud.com
License: MIT License
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Terminals
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Description-Content-Type: text/x-rst
Requires-Dist: setuptools

PTYng -- Pseudo-terminal utilities
==================================

Fork of ``pty`` aiming for enhancement of the full ``stdlib`` Python API.

    As encountered in practice, ``pty.spawn`` requires ``KeyboardInterrupt``
    or else to break hanging from ``select.select`` as in ``pty._copy`` then
    raise ``OSError`` to ``pty.spawn`` and to return from the function.

    Thus, ``ptyng`` introduced ``_is_zombie`` to check if the spawned child
    process is already dead (or, a 'zombie'), through which ``pty.spawn``
    will automatically return from function call as normal/trivial scenerios
    expected.

Download
--------

Standalone releases are available on PyPI:
http://pypi.python.org/pypi/ptyng/

Development
-----------

The main development takes place in the Python standard library: see
the `Python developer's guide <http://docs.python.org/devguide/>`_.
In particular, new features should be submitted to the
`Python bug tracker <http://bugs.python.org/>`_.

Documentation
-------------

Refer to the
`standard pty <http://docs.python.org/dev/library/pty.html>`_
documentation.

    ``ptyng.spawn`` now supports ``timeout`` argument. If the timeout expires, the
    spanwed child process will be killed and waited for.


