in reply to Re^2: Dancer2 start/stop hooks
in thread Dancer2 start/stop hooks

You could get the PID in the script before you dance; and use it as a conditional in the END block.


The way forward always starts with a minimal test.