Woah! I did not know that about killing PID -1. That is not behaviour I'd expect.
This developer uses Python though, which seems like it does the correct thing in raising an error instead of just returning a -1. I'd have to look through the Python code to be sure through:
This developer uses Python though, which seems like it does the correct thing in raising an error instead of just returning a -1. I'd have to look through the Python code to be sure through:
https://docs.python.org/3.5/library/os.html#os.fork