unicode
This commit is contained in:
@@ -344,7 +344,7 @@ main() {
|
|||||||
|
|
||||||
/usr/bin/open -n "$dest_app" || warn "open -n by path failed; not falling back to -b to avoid launching a stale copy."
|
/usr/bin/open -n "$dest_app" || warn "open -n by path failed; not falling back to -b to avoid launching a stale copy."
|
||||||
|
|
||||||
# Detect initial UI pid (don’t fail if we miss the very first parent)
|
# Detect initial UI pid (don't fail if we miss the very first parent)
|
||||||
local cur_pid=""
|
local cur_pid=""
|
||||||
for ((i = 0; i < PID_DETECT_TIMEOUT_SEC * 10; i++)); do
|
for ((i = 0; i < PID_DETECT_TIMEOUT_SEC * 10; i++)); do
|
||||||
cur_pid="$(find_latest_repertory_pid "$launch_epoch" "$exec_name_now" || true)"
|
cur_pid="$(find_latest_repertory_pid "$launch_epoch" "$exec_name_now" || true)"
|
||||||
@@ -394,7 +394,7 @@ main() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# success if window elapsed and we’ve seen a live UI within tolerance
|
# success if window elapsed and we've seen a live UI within tolerance
|
||||||
local now
|
local now
|
||||||
now="$(now_epoch)"
|
now="$(now_epoch)"
|
||||||
local elapsed=$((now - start_ts))
|
local elapsed=$((now - start_ts))
|
||||||
|
|||||||
Reference in New Issue
Block a user