fork()
Platforms that do not have a built-in fork() function will always return -1.
Warning: in multithreaded programs like Macaulay2, very few operations can be safely done in the child. This is especially true when the user has been parallel programming with threads and tasks. Even allocating memory in the child may hang the process.
The object fork is a compiled function.