mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Need explicit -command to execute command in Read-Host output test (#4103)
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user