-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Command output is not always displayed #1695
Comments
This is not race condition. Terminal output is being processed only when process is not terminated. I have made a PR to change that behavior: #1696 |
Part of v0.99 release. |
The problem still arises but less frequently with v0.99. |
still arises with v0.108 in aterm/xfce4-terminal ... ... or sometimes a character I type is not immediately displayed (I have to type another character) (xterm/xfce4-terminal are working fine in my prooted environment ... mmmm : I did a "git push" and I had to wait for like 5-10 seconds before the Username was asked ... maybe github was just slow ... seems to work anyway as the Username was eventually asked ... ) |
@pierro78 Can you give more info about the device and which keyboard you use? |
@RalfWerner it s an android 11 xperia 5 2019 ( https://www.reddit.com/r/termux/comments/mfpwry/termux_tripled_the_speed_of_this_12yo_laptop/gsu67dh/?utm_source=reddit&utm_medium=web2x&context=3 ) I am using tigervncviewer or rdp client from my laptop (not from the phone) shall I fill a different issue in the termux/x11-packages repo as it is related to packages in that repo ? thanks PS : |
I have no Xperia device and can not repeat your problem. since a week I have an Android 11 update for my Samsung device. Does your problem occur only when using your laptop (windows X server) or in standalone mode too?
You should do that only if you have what your problem is triggered |
yes only when I use xterm/xfce4-terminal from the termux/x11-packages repo the standalone termux shell command line works fine either directly or from ssh client ...
OK I filled a separate issue : termux/termux-packages#10181 thanks |
I get that problem but now i have 2 termux in recent apps |
Problem description
Command output is not always displayed when the command is also making the terminal exiting.
Only "[Process completed (code X) - press Enter]" is displayed.
Steps to reproduce
Make a small C program like:
Execute it with "exec ./smallprog" in a terminal.
Expected behavior
"########" should be always displayed.
Additional information
Some race condition occur, most of the time the output is displayed.
Sounds like sometime the process exit is processed before all buffered output is processed.
Also occur with shell script output.
Happen on stdout or stderr.
The bug is more apparent with Termux:Widget since the terminal is closed after execution, sometime on command error nothing is displayed.
The text was updated successfully, but these errors were encountered: