We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PtyProcess
It seems, required conhost processes to run a shell interpreter are not terminated after closing a terminal session.
conhost
Actually initial call opens 2 conhosts. Each subsequent session spawns another one, even though previous one is closed.
Steps:
Open Windows task manager
0 conhost.exe processes running
Invoke:
>>> from winpty import PtyProcess >>> proc = PtyProcess.spawn('python') >>> proc.close()
2 conhost.exe processes running
>>> proc = PtyProcess.spawn('python') >>> proc.close()
3 conhost.exe processes running
4 conhost.exe processes running
...
The text was updated successfully, but these errors were encountered:
I also wanted to point that out that you never touch self.pty in close. https://github.com/andfoy/pywinpty/blob/main/winpty/ptyprocess.py#L152 is commented but was in there before, I couldn't find a commit which explains this call had to be removed. I would have expected that https://github.com/andfoy/winpty-rs/blob/main/src/pty/base.rs#L673-L674 must be executed on gc (is it?) but you also pass it to a daemon thread. Maybe the daemon never stops?
self.pty
close
Sorry, something went wrong.
Pin "pywinpty" to v0.5.7
ab2e5e8
pywinpty dropped support for python 3.8 but all current versions have important issues. - andfoy/pywinpty#463 - andfoy/pywinpty#484 - andfoy/pywinpty#483
Yet another example for Rust not being the holy grale.
No branches or pull requests
It seems, required
conhost
processes to run a shell interpreter are not terminated after closing a terminal session.Actually initial call opens 2 conhosts. Each subsequent session spawns another one, even though previous one is closed.
Steps:
Open Windows task manager
0 conhost.exe processes running
Invoke:
2 conhost.exe processes running
Invoke:
3 conhost.exe processes running
Invoke:
4 conhost.exe processes running
...
The text was updated successfully, but these errors were encountered: