mirror of
https://github.com/tw93/Mole.git
synced 2026-02-09 07:19:17 +00:00
Improve spinner subprocess and trap cleanup handling
This commit is contained in:
@@ -259,7 +259,8 @@ scan_applications() {
|
||||
# Start a background spinner that reads progress from file
|
||||
local spinner_pid=""
|
||||
(
|
||||
trap 'exit 0' TERM INT EXIT
|
||||
cleanup_spinner() { exit 0; }
|
||||
trap cleanup_spinner TERM INT EXIT
|
||||
local spinner_chars="|/-\\"
|
||||
local i=0
|
||||
while true; do
|
||||
|
||||
Reference in New Issue
Block a user