BSD Ports

devel/py-ptyprocess 0.7.0p6 OpenBSD

run a subprocess in a pseudo terminal

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, lang/python

Description

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.

Install

Binary package:

pkg_add py3-ptyprocess

From the ports tree:

cd /usr/ports/devel/py-ptyprocess && make install

Dependencies

Build dependencies 4
Run dependencies 1