build_lib.sh issues #67

Open
opened 2026-03-27 05:27:09 +00:00 by scott · 1 comment
Member

proc_kill() uses pkill -f which matches the full command line. When make run calls hero_service_stop, the parent bash shell's command line contains hero_proc_server/hero_proc_ui as arguments, so proc_kill kills make itself.

Fix: use pkill -x / pgrep -x for exact process name matching.

Also: hero_service_stop() hardcodes hero_proc_* names instead of deriving them from arguments — should be parameterized.

proc_kill() uses pkill -f which matches the full command line. When make run calls hero_service_stop, the parent bash shell's command line contains hero_proc_server/hero_proc_ui as arguments, so proc_kill kills make itself. Fix: use pkill -x / pgrep -x for exact process name matching. Also: hero_service_stop() hardcodes hero_proc_* names instead of deriving them from arguments — should be parameterized.
Author
Member

Another thing I'm running into is the fact that these ncat calls bind to localhost only. This isn't working well for remote development on an external machine.

Another thing I'm running into is the fact that these ncat calls bind to localhost only. This isn't working well for remote development on an external machine.
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
lhumina_code/hero_skills#67
No description provided.