Skip to content

Instantly share code, notes, and snippets.

@elreydetoda
Created February 5, 2023 05:20
Show Gist options
  • Save elreydetoda/e4e48af1981f28852b11e730fe5f249e to your computer and use it in GitHub Desktop.
Save elreydetoda/e4e48af1981f28852b11e730fe5f249e to your computer and use it in GitHub Desktop.
small expect script for installing python version for pipenv + pyenv
#!/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