Skip to content

Instantly share code, notes, and snippets.

@midwire
Created August 17, 2022 15:09
Show Gist options
  • Save midwire/a5b641ebd970c797c39581e5877d05f1 to your computer and use it in GitHub Desktop.
Save midwire/a5b641ebd970c797c39581e5877d05f1 to your computer and use it in GitHub Desktop.
[Use arguments in Expect] #expect #command
set username [lindex $argv 0];
set password [lindex $argv 1];
send_user "$username $password"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment