BSD Ports

sysutils/py-ptyprocess 0.7.0_1 MidnightBSD

Run a subprocess in a pseudo terminal

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
iscl
Categories
sysutils, python

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
MidnightBSDsysutils/py-ptyprocess0.7.0_1
FreeBSDsysutils/py-ptyprocess0.7.0_1
NetBSDsysutils/py-ptyprocess0.7.0nb2
DragonFlysysutils/py-ptyprocess0.7.0_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}ptyprocess

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ptyprocess>0:sysutils/py-ptyprocess

Dependencies

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ptyprocess-0.7.0.tar.gz707625c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220
Master sites 1
  • PYPI