rexpect - Rust port of pexpect

  •        73

The goal is to offer a similar set of functionality as pexpect. For more examples, check the examples directory.

https://github.com/philippkeller/rexpect

Tags
Implementation
License
Platform

   




Related Projects

winpty - A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs

  •    C++

winpty is a Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs. The package consists of a library (libwinpty) and a tool for Cygwin and MSYS for running Windows console programs in a Cygwin/MSYS pty. The software works by starting the winpty-agent.exe process with a new, hidden console window, which bridges between the console API and terminal input/output escape codes. It polls the hidden console's screen buffer for changes and generates a corresponding stream of output.

node-pty - Fork pseudoterminals in Node.JS

  •    TypeScript

forkpty(3) bindings for node.js. This allows you to fork processes with pseudoterminal file descriptors. It returns a terminal object which allows reads and writes. node-pty supports Linux, macOS and Windows. Windows support is possible by utilizing the winpty library.

nexpect - spawn and control child processes in node.js with ease

  •    Javascript

nexpect is a node.js module for spawning child applications (such as ssh) and seamlessly controlling them using javascript callbacks. nexpect is based on the ideas of the expect library by Don Libes and the pexpect library by Noah Spurrier.node.js has good built in control for spawning child processes. nexpect builds on these core methods and allows developers to easily pipe data to child processes and assert the expected response. nexpect also chains, so you can compose complex terminal interactions.

pexpect - A Python module for controlling interactive programs in a pseudo-terminal

  •    Python

Pexpect makes Python a better tool for controlling other applications. Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands.

Pexpect - Pure Python Expect-like module

  •    Python

Pexpect is a Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. Pexpect is pure Python.


browsix - Browsix is a Unix-like operating system for the browser.

  •    Javascript

While standard operating systems like Unix make it relatively simple to build complex applications, web browsers lack the features that make this possible. This project is Browsix, a JavaScript-only framework that brings the essence of Unix to the browser. Browsix makes core Unix features available to web applications (including pipes, processes, signals, sockets, and a shared file system) and extends JavaScript runtimes for C, C++, Go, and Node.js programs so they can run in a Unix-like environment within the browser. Browsix also provides a POSIX-like shell that makes it easy to compose applications together for parallel data processing via pipes. For more details, check out our tech report (PDF).

delegator.py - Subprocesses for Humans 2.0.

  •    Python

Delegator.py is a simple library for dealing with subprocesses, inspired by both envoy and pexpect (in fact, it depends on it!). This module features two main functions delegator.run() and delegator.chain(). One runs commands, blocking or non-blocking, and the other runs a chain of commands, separated by the standard unix pipe operator: |.

monit - Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system

  •    C

Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. (unofficial mirror)

dnpipes - Distributed Named Pipes

  •    Go

Distributed Named Pipes (or: dnpipes) are essentially a distributed version of Unix named pipes comparable to, for example, SQS in AWS or the Service Bus in Azure. Conceptually, we're dealing with a bunch of distributed processes (dpN above). These distributed processes may be long-running (such as dp0 or dp5) or batch-oriented ones, for example dp3 or dp6. There are a number of situations where you want these distributed processes to communicate, very similar to what IPC enables you to do on a single machine. Now, dnpipes are a simple mechanism to facilitate IPC between distributed processes. What follows is an interface specification as well as a reference implementation for dnpipes.

Supervisor - A Process Control System

  •    Python

Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. It shares some of the same goals of programs like launchd, daemontools, and runit. Unlike some of these programs, it is not meant to be run as a substitute for init as “process id 1”. Instead it is meant to be used to control processes related to a project or a customer, and is meant to start like any other program at boot time.

Linux Utility Scripts

  •    Ruby

A handy set of Linux utility scripts. Mount a remote Windows share, display the processes associated with a pty, distribute .rc files or ssh public key to clients, tunnel RDC or VNC through remote gateway via ssh, easy command-line access to system config tools, and more.

pty.js - Bindings to forkpty(3) for node.js.

  •    C++

forkpty(3) bindings for node.js. This allows you to fork processes with pseudo terminal file descriptors. It returns a terminal object which allows reads and writes.Copyright (c) 2012-2015, Christopher Jeffrey (MIT License).

capistrano-sidekiq - Sidekiq integration for Capistrano

  •    Ruby

There is a known bug that prevents sidekiq from starting when pty is true on Capistrano 3. You can configure sidekiq to start with multiple processes. Just set the proper amount in sidekiq_processes.

X-window processes tree display

  •    C

xps dynamically displays in an X Window the Unix processes as a tree or forest, the roots on the left and the leaf processes (with no children) on the right. The status of each process running, sleeping, stopped, etc.) can be indicated by a color. Di

noflo - Flow-based programming for JavaScript

  •    CoffeeScript

In computer science, flow-based programming (FBP) is a programming paradigm that defines applications as networks of "black box" processes, which exchange data across predefined connections by message passing, where the connections are specified externally to the processes. These black box processes can be reconnected endlessly to form different applications without having to be changed internally. FBP is thus naturally component-oriented. This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

supervisor - Supervisor process control system for UNIX

  •    Python

Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems. Supervisor has been tested and is known to run on Linux (Ubuntu), Mac OS X (10.4, 10.5, 10.6), and Solaris (10 for Intel) and FreeBSD 6.1. It will likely work fine on most UNIX systems.

Top

  •    C

Top is the ever popular top processes display for Unix. It provides a continuously updated display of processes and other system information. Top will show you exactly what your system is doing.

Gnome Process Tree

  •    C

Gnopstree dynamically displays via GNOME/GTK the Unix processes as a tree or forest, the roots on the left and the leaf processes (with no children) on the right. The status of each process running, sleeping, stopped, etc.) can be indicated by a color

fzf - A command-line fuzzy finder

  •    Go

fzf is a general-purpose command-line fuzzy finder.It's an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc.

azazel - Azazel is a userland rootkit based off of the original LD_PRELOAD technique from Jynx rootkit

  •    C

Azazel is a userland rootkit based off of the original LD_PRELOAD technique from Jynx rootkit. It is more robust and has additional features, and focuses heavily around anti-debugging and anti-detection. Using netcat to communicate with a remote PTY isn't the best idea. See below for a better PTY client written by InfoDox, or use socat with a command similar to the following and then just paste the password into the session, otherwise socat send the first char making the passwords not match.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.