Agoric / agoric-3-proposals

Proposals run or planned for Mainnet (agoric-3)
Apache License 2.0
0 stars 2 forks source link

killAgd does not work cross shell #162

Closed mhofman closed 2 months ago

mhofman commented 3 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

While it polls using kill -0 internally, it easier than writing that ourselves

gibson042 commented 2 months ago

Fixed by #164; I didn't check for this issue before merging it.