I want to write a shell program in windows that runs another shell script and expects a password prompt from the Git bash terminal and inputs it. This is what I have so far: #!/bin/sh # exec tclsh "$0" ${1+"[email protected]"} package require Expect spawn sampleScript.sh expect "Password:" send "pass123" Source: Windows..
Recent Comments