@hackage / vk-posix-pty

Pseudo terminal interaction with subprocesses.

Latest0.2.1

About

Metadata

  • Last updated , by VladimirKirillov
  • License BSD-3-Clause
  • Categories Systems Programming
  • Maintained by: Vladimir Kirillov <proger@hackndev.com>

  • Lottery factor: 0

Links

Installation

Readme

This package simplifies the creation of subprocesses that interact with their parent via a pseudo terminal (see man pty).

Included ptywrap utility spawns a process with a pty, forwards its output to stdout as plain text without buffering and forwards the exit code. Note that it does not handle standard input.

ptywrap: usage: ptywrap [command to run]