You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
every step send the command, I can get the matching feedback printing
Screenshots
Now seems the feedback printing is always to be showing later
The execution results are as follows
D:\CODE>python test.py
========1 VER
D:\CODE>
========2 VOL
VER
Microsoft Windows [Version 10.0.18363.1110]
D:\CODE>
========3 ECHO 1
D:\CODE>
D:\CODE>
Environment:
[windows version] win10 10.0.18363.1110
[Python version] Python 3.8.5
[wexpect version] wexpect 4.0.0
The text was updated successfully, but these errors were encountered:
D:\wexpect_test>python i41.py========1 VERVERMicrosoft Windows [Version 10.0.19041.508]D:\wexpect_test>========2 VOLVOL Volume in drive D is DATA Volume Serial Number is 1234-5678D:\wexpect_test>========3 ECHO 1ECHO 11D:\wexpect_test>D:\wexpect_test>
It seems that the cmdPrompt matches something else in your system.
Please try to replace the re.compile('[A-Z]\:.+>') expression to your exact prompt: cmdPrompt='D:\\CODE>'
Describe the bug
I make a test on win10, try to send a few commands and get their feedback printing.
code like this
To Reproduce
run this script on win10
Expected behavior
every step send the command, I can get the matching feedback printing
Screenshots
Now seems the feedback printing is always to be showing later
The execution results are as follows
Environment:
The text was updated successfully, but these errors were encountered: