Some python processes crash with:
objc[51435]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
Those are processes using child shells, forking threads, etc. MacOS blocks them for some security reasons (which I am not sure what are, but that is what people say)
The solution is to disable this security check:
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
Which is fine for known libraries and dependencies, and within the currently running shell.
Is it safe to set it as a global environment variable, disabling this check globally in my local mac machine?