pub fn runtime_hook()
Expand description

Binaries can call this just after staring. If we detect that we’re actually running as a subprocess, control will not return.