BSD Ports

sysutils/py-ptyprocess 0.7.0_1 DragonFly

Run a subprocess in a pseudo terminal

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ISCL
Categories
python, sysutils
Package size
24.7 KiB, 122.8 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
DragonFlysysutils/py-ptyprocess0.7.0_1
FreeBSDsysutils/py-ptyprocess0.7.0_1
NetBSDsysutils/py-ptyprocess0.7.0nb2
MidnightBSDsysutils/py-ptyprocess0.7.0_1

Install

Binary package:

pkg install py311-ptyprocess

From DPorts:

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

Dependencies

Run dependencies 1