Created
February 5, 2023 05:20
-
-
Save elreydetoda/e4e48af1981f28852b11e730fe5f249e to your computer and use it in GitHub Desktop.
small expect script for installing python version for pipenv + pyenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/expect | |
set timeout 680 | |
spawn pipenv --bare sync | |
expect "Y/n" { send "\r" } \ | |
"All dependencies are now up-to-date!" { } | |
expect eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment