[GH-ISSUE #72] Control-C Is there a way? #53

Closed
opened 2026-03-04 02:11:11 +03:00 by kerem · 3 comments
Owner

Originally created by @uglygus on GitHub (Jun 7, 2022).
Original GitHub issue: https://github.com/tytydraco/LADB/issues/72

Is there some way to exit a running shell command? I can't find a way to send signals or Control-C.

Originally created by @uglygus on GitHub (Jun 7, 2022). Original GitHub issue: https://github.com/tytydraco/LADB/issues/72 Is there some way to exit a running shell command? I can't find a way to send signals or Control-C.
kerem 2026-03-04 02:11:11 +03:00
Author
Owner

@teou1 commented on GitHub (Oct 14, 2022):

I have tried to, there is no way. I either do not make loops in scripts or close ladb and reopen, or use termux.

I actually think that is a good suggestion for the future: just give us the good old terminal prompt, no need from this input row. It make problems like popping the keyboard by loops all the time and decreasing the visible space (try this)
while true; do dumpsys battery; sleep 5; done
And as mentioned, if it was just a terminal one could install hacker keyboard and easily breaking the loop with ctrl c.

<!-- gh-comment-id:1278916663 --> @teou1 commented on GitHub (Oct 14, 2022): I have tried to, there is no way. I either do not make loops in scripts or close ladb and reopen, or use termux. I actually think that is a good suggestion for the future: just give us the good old terminal prompt, no need from this input row. It make problems like popping the keyboard by loops all the time and decreasing the visible space (try this) `while true; do dumpsys battery; sleep 5; done` And as mentioned, if it was just a terminal one could install hacker keyboard and easily breaking the loop with ctrl c.
Author
Owner

@tytydraco commented on GitHub (Oct 15, 2022):

This is a good idea, I believe I tried this before but it wasn't successful. Let me try this again.

<!-- gh-comment-id:1279824688 --> @tytydraco commented on GitHub (Oct 15, 2022): This is a good idea, I believe I tried this before but it wasn't successful. Let me try this again.
Author
Owner

@tytydraco commented on GitHub (Oct 16, 2022):

Turns out this is not possible because the ADB process is the only thing we have a handle on, not the subprocesses in the interactive shell

<!-- gh-comment-id:1279858332 --> @tytydraco commented on GitHub (Oct 16, 2022): Turns out this is not possible because the ADB process is the only thing we have a handle on, not the subprocesses in the interactive shell
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LADB#53
No description provided.