{"repo":"clarkwang/sexpect","free":true,"listed":false,"github":"https://github.com/clarkwang/sexpect","clone":"git clone https://github.com/clarkwang/sexpect.git","description":"Expect for Shells","language":"C","stars":145,"topics":["automation","expect","pty","tty","shell","bash"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"What's sexpect sexpect is another implementation of [ Expect ][expect] which is specifically designed for Shell scripts (sh, bash, ksh, zsh, ...). sexpect is designed in the client/server model. sexpect spawn PROGRAM [option].. starts the server (running as a daemon) and runs the specified PROGRAM in background. Other sexpect sub-commands ( send , expect , wait , ...) communicate to the server as client commands. How to build Sexpect uses CMake for building. $ cd /path/to/cloned/sexpect/ $ mkdir build $ cd build $ cmake .. $ make $ make install By default it will install to /usr/local/ and sexpect will be installed to /usr/local/bin/ . To change the installation location, run cmake like this: $ cmake -D CMAKE INSTALL PREFIX=/opt/sexpect .. Supported platforms Tested on: OpenWRT 15.05.1, ramips/mt7620 (on [Newifi Mini, or Lenovo Y1 v1][newifi]) Debian Linux 9 (Stretch) macOS 10.13 (High Sierra) FreeBSD 11.1 Cygwin on Windows 10 [newifi]: https://openwrt.org/toh/lenovo/lenovo y1 v1 Manual See doc/sexpect.adoc. Examples See the examples/ dir. [expect]: https://www.nist.gov/services-resources/software/expect [expect.pm]: http://search.cpan.org/perldoc?Expect [pexpect]: https://pexpect.readthedocs.io/","default_branch":null,"files":null,"tree":[],"storefront":"/r/clarkwang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/clarkwang/sexpect/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}