Need explicit -command to execute command in Read-Host output test (#4103)

This commit is contained in:
Steve Lee
2017-06-28 10:13:37 -07:00
committed by Dongbo Wang
parent ff5609785b
commit 042a6f2534
@@ -7,7 +7,7 @@ set powershell [lindex $argv 0]
set timeout 60
spawn $powershell -nologo -noprofile Read-Host prompt
spawn $powershell -nologo -noprofile -command Read-Host prompt
expect {
"prompt: $" { send "input\r" ; exp_continue }