in reply to Re^2: Dancer2 start/stop hooksin 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.