-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_ptyprocess.py terminating early due to child process exit #197
Comments
@andfoy Thoughts ? |
Looks like the test has been progressing it is just that I don't get to see the output on the terminal anymore. If I pipe the output to a file then I can see that tests are all passing as expected.
|
This is weird, since standard streams are being recreated in case the parent has redirected them: Did the error occur on a cmd prompt? |
yes, I've tried both cmd prompt and powershell. Same behaviour observed |
@nsait-linaro, do you know if this issue still occurs with the latest release? |
I've been trying to port pywinpty for windows on arm64 platform and while trying to run the unit tests (using
python runtests.py
orpytest
) the tests terminate early during executing tests from test_ptyprocess.py.I think this happens when we try to terminate a forked child by os.kill or an exit statement to the application.
I've tried this on the x64 windows as well and I see the same behavior. I've tried powershell and cmd and observed the same behaviour for both.
I don't know if this is an issue with the test framework or I am doing it wrong.
The text was updated successfully, but these errors were encountered: