Skip to main content

Pseudo-terminal utilities.

Project description

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. In particular, new features should be submitted to the Python bug tracker.

Documentation

Refer to the standard pty documentation.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ptyng-0.2.0.post4.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ptyng-0.2.0.post4-py2.py3-none-macosx_10_14_x86_64.whl (5.0 kB view details)

Uploaded Python 2Python 3macOS 10.14+ x86-64

File details

Details for the file ptyng-0.2.0.post4.tar.gz.

File metadata

  • Download URL: ptyng-0.2.0.post4.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for ptyng-0.2.0.post4.tar.gz
Algorithm Hash digest
SHA256 96854a1540e6bbfdc97f3c9311807eba9a223f336442d32346d9169dfb2e900f
MD5 fdacbbf188574df6f836746d358b42a6
BLAKE2b-256 8a3325dcdbff93ef97334d37ed45004e98b74f935c3f9dbe3d3de249cd1d6a2a

See more details on using hashes here.

File details

Details for the file ptyng-0.2.0.post4-py2.py3-none-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: ptyng-0.2.0.post4-py2.py3-none-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for ptyng-0.2.0.post4-py2.py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f0999c565752a69bdb98995feb75cdc17f4c86846a65c63d95c794ec0fd5fbfb
MD5 5800376ac7e21ada99d816c08e1ad0d0
BLAKE2b-256 53ee52bf59c185a824142d7c115e3654af8e21a9880de914169a62266ceb76f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page