in reply to native exit codes 512 and 2304

512 >> 8 == 2 2304 >> 8 == 9
So it seems something is doing an 'exit 2' and an 'exit 9'.