safe_env Allows running a C++ function/lambda function inside an protected environment via UNIX processes i.e. if the function crashes the host application does not crash but instead report an error