Closed mhofman closed 2 months ago
A proposal test script may need to killAgd and restart it. However the agd process was started and another shell running concurrently when in tests.
Instead of wait $AGD_PID do tail --pid=$AGD_PID -f /dev/null as seen in https://stackoverflow.com/a/41613532
wait $AGD_PID
tail --pid=$AGD_PID -f /dev/null
While it polls using kill -0 internally, it easier than writing that ourselves
kill -0
Fixed by #164; I didn't check for this issue before merging it.
A proposal test script may need to killAgd and restart it. However the agd process was started and another shell running concurrently when in tests.
Instead of
wait $AGD_PID
dotail --pid=$AGD_PID -f /dev/null
as seen in https://stackoverflow.com/a/41613532While it polls using
kill -0
internally, it easier than writing that ourselves