If you're talking about Linux/Unix processes after a fork()
, yes. They get their own copy of the data of the parent process, so whatever one of them does after the fork is not seen by the other (which is normally implemented by copy-on-write, so the memory pages won't get copied until written to, but that's a detail the user program doesn't see).
If you're talking about Windows starting a new process with CreateProcess()
, no, the new process does not inherit any data structure from the parent.
Both of these have much more to do with which OS you're using than with any specific programming language.