BSD Ports

sysutils/py-ptyprocess 0.7.0nb2 NetBSD

Run a subprocess in a pseudo terminal

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
isc
Categories
sysutils, python
Package size
25.6 KiB, 122.6 KiB installed

Description

Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty.

Sometimes, piping stdin and stdout is not enough. There might be a password prompt that doesn't read from stdin, output that changes when it's going to a pipe rather than a terminal, or curses-style interfaces that rely on a terminal. If you need to automate these things, running the process in a pseudo terminal (pty) is the answer.

In the other systems

SystemPortVersion
NetBSDsysutils/py-ptyprocess0.7.0nb2
FreeBSDsysutils/py-ptyprocess0.7.0_1
DragonFlysysutils/py-ptyprocess0.7.0_1
MidnightBSDsysutils/py-ptyprocess0.7.0_1

Install

Binary package:

pkgin install py311-ptyprocess

From pkgsrc:

cd /usr/pkgsrc/sysutils/py-ptyprocess && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-ptyprocess-0.7.0nb2, py313-ptyprocess-0.7.0nb2, py314-ptyprocess-0.7.0nb2