mirror of
https://github.com/tytydraco/LADB.git
synced 2026-04-27 08:26:00 +03:00
[GH-ISSUE #72] Control-C Is there a way? #53
Labels
No labels
bug
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LADB#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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; doneAnd as mentioned, if it was just a terminal one could install hacker keyboard and easily breaking the loop with ctrl c.
@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.
@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