-
Notifications
You must be signed in to change notification settings - Fork 320
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
Proposal: add execution_state filed on terminal #625
Comments
and anothoer question, why we didn't move terminal into service and make its websocket route as |
#626 meets my needs, but may not be a good general approach |
Let me update the progress, in the development of terminal with status, I found that we need to extend the functionality of terminal_manager, finally made terminal_manager a configurable item and implemented a terminal_manager that uses logging of terminal returns to determine the status ( StatefulTerminalManager), which currently works in most linux and linux docker containers, hopefully someone will make it support more operating systems later. The code is all here #626, feel free to make comments |
Turn to #640 |
Problem
As I am working on a plugin to check if user is running code, so that user can running code as a background task without being killed by my modified jupyterhub
but I found terminal don't have execution_state filed, so I cant check terminal's state
Hope I can check both kernel and terminal,
Proposed Solution
I have tried add some process on
on_message
andwrite_message
and TerminalManager'sget_terminal_model
Additional context
The text was updated successfully, but these errors were encountered: