{"id":13575944,"url":"https://github.com/clarkwang/sexpect","last_synced_at":"2025-04-04T13:09:16.622Z","repository":{"id":47551327,"uuid":"130372292","full_name":"clarkwang/sexpect","owner":"clarkwang","description":"Expect for Shells","archived":false,"fork":false,"pushed_at":"2025-03-21T15:25:16.000Z","size":223,"stargazers_count":124,"open_issues_count":5,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-26T22:06:55.909Z","etag":null,"topics":["automation","bash","expect","pty","shell","tty"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clarkwang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-20T14:20:38.000Z","updated_at":"2025-03-21T15:25:22.000Z","dependencies_parsed_at":"2024-01-14T03:49:41.358Z","dependency_job_id":"96e5269c-677b-4fd0-a444-7b8326ea69b7","html_url":"https://github.com/clarkwang/sexpect","commit_stats":{"total_commits":118,"total_committers":1,"mean_commits":118.0,"dds":0.0,"last_synced_commit":"532a52d36aae442b7fe1ce20a59effd1dbc6e6fe"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarkwang%2Fsexpect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarkwang%2Fsexpect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarkwang%2Fsexpect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarkwang%2Fsexpect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clarkwang","download_url":"https://codeload.github.com/clarkwang/sexpect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182359,"owners_count":20897380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","bash","expect","pty","shell","tty"],"created_at":"2024-08-01T15:01:05.659Z","updated_at":"2025-04-04T13:09:16.603Z","avatar_url":"https://github.com/clarkwang.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# What's `sexpect`\n\n`sexpect` is another implementation of [`Expect`][expect] which is\nspecifically designed for *Shell* scripts (sh, bash, ksh, zsh, ...).\n\n`sexpect` is designed in the client/server model.\n`sexpect spawn PROGRAM [option]..` starts the _server_ (running as a daemon)\nand runs the specified _PROGRAM_ in background.\nOther `sexpect` sub-commands (`send`, `expect`, `wait`, ...) communicate to the\nserver as _client_ commands.\n\n# How to build\n\nSexpect uses [CMake](https://cmake.org/) for building.\n\n    $ cd /path/to/cloned/sexpect/\n    $ mkdir build\n    $ cd build\n    $ cmake ..\n    $ make\n    $ make install\n    \nBy 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:\n\n    $ cmake -D CMAKE_INSTALL_PREFIX=/opt/sexpect  ..\n\n## Supported platforms                                                                \n                                                                                      \nTested on:                                                                            \n                                                                                      \n* OpenWRT 15.05.1, ramips/mt7620 (on [Newifi Mini, or Lenovo Y1 v1][newifi])\n* Debian Linux 9 (Stretch)                                                            \n* macOS 10.13 (High Sierra)                                                           \n* FreeBSD 11.1                                                                        \n* Cygwin on Windows 10\n\n  [newifi]: https://openwrt.org/toh/lenovo/lenovo_y1_v1\n    \n# Manual\n\nSee [doc/sexpect.adoc](doc/sexpect.adoc).\n    \n# Examples\n\nSee the [examples/](examples/) dir.\n\n[expect]:    https://www.nist.gov/services-resources/software/expect\n[expect.pm]: http://search.cpan.org/perldoc?Expect\n[pexpect]:   https://pexpect.readthedocs.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarkwang%2Fsexpect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarkwang%2Fsexpect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarkwang%2Fsexpect/lists"}