-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Update TerminalSession.java #434
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
Conversation
Endprocess string modified to check for `hushlogout` if exists then exit the terminal without echoing exit string
| int exitCode = (Integer) msg.obj; | ||
| mShellExitStatus = exitCode; | ||
| mShellPid = -1; | ||
| mTerminalToProcessIOQueue.close(); mProcessToTerminalIOQueue.close(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing this shouldn't be here twice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solved..
|
Hmm, that sounds like a problem, but I just made temp changes.. |
|
I'll just replace |
Echo message only if exit code is zero
|
@Grimler91 True, but the exit message wont protect you from everything anyway. Such as killall com.termux in your bashrc. A way to properly close termux panes programatically is sorely needed. Edit: woops. Just saw that you've already saw Issue 56 and referenced this from there. |
|
Not relevant after #56. |
Endprocess string modified to check for
~/hushlogoutif exists then exit the terminal without echoing exitDescription